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
Copy file name to clipboardExpand all lines: docs/components/abbr.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The HTML `abbr` tag implemented in ruby.
8
8
9
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
10
11
-
#### # title
11
+
#### # title - required
12
12
Expects a string with the meaning of the abbreviation contained within the tag.
13
13
14
14
#### # id - optional
@@ -17,6 +17,8 @@ Expects a string with all ids the `abbr` should have.
17
17
#### # class - optional
18
18
Expects a string with all classes the `abbr` should have.
19
19
20
+
#### # text - optional
21
+
Expects a string which will be displayed as the content inside the `abbr`. If this is not passes, a block must be passed instead.
0 commit comments