You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show [specs](../../spec/usage/components/abbr_spec.rb)
4
+
5
+
The HTML `abbr` tag implemented in ruby.
6
+
7
+
## Parameters
8
+
9
+
This component expects 1 required param, 2 optional configuration params and either yield content or display what gets passed to the `text` configuration param.
10
+
11
+
#### # title - required
12
+
Expects a string with the meaning of the abbreviation contained within the tag.
13
+
14
+
#### # id - optional
15
+
Expects a string with all ids the `abbr` should have.
16
+
17
+
#### # class - optional
18
+
Expects a string with all classes the `abbr` should have.
19
+
20
+
#### # text - optional
21
+
Expects a string which will be displayed as the content inside the `abbr`. If this is not passed, a block must be passed instead.
0 commit comments