Data
Last updated
Was this helpful?
Last updated
Was this helpful?
The HTML <data>
tag, implemented in Ruby.
This component can take various optional configuration params and either yield content or display what gets passed to the text
configuration param.
Expects a string and specifies the machine-readable translation of the content of the <data>
element.
Expects a string which will be displayed as the content inside the <data>
tag.
This component accepts all the canonical like id
or class
.
returns
options[:text]
paramreturns