Function moxie_dom::elements::forms::option [−][src]
pub fn option() -> OptionBuilder
Expand description
The HTML <option>
element is used to define an item contained in a
<select>
, an <optgroup>
, or a <datalist>
element. As
such, <option>
can represent menu items in popups and other lists of items in an HTML
document.
A function for creating a builder which will accept attributes and produce the element.