Noscript
Last updated
Was this helpful?
The HTML <noscript> 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 which will be displayed as the content inside the <noscript> tag.
This component accepts all the canonical HTML global attributes like id or class.
noscript id: "foo", class: "bar" do
plain 'Hello World' # optional content
endreturns
<noscript id="foo" class="bar">
Hello World
</noscript>returns
Last updated
Was this helpful?
Was this helpful?
noscript id: "foo", class: "bar", text: 'Hello World'<noscript id="foo" class="bar">
Hello World
</noscript>