Wbr
The HTML <wbr>
tag, implemented in Ruby.
Parameters
This component accepts all the canonical HTML global attributes like id
or class
.
Examples
Example 1: Basic usage
paragraph do
plain 'First part of text'
wbr id: 'foo', class: 'bar'
plain 'Second part of text'
end
returns
<p>First part of text<wbr id="foo" class="bar">Second part of text</p>
Last updated
Was this helpful?