haXe API Documentation
Back | Index
extern class js.html.OptGroupElement
extends Element
Available in js
In a web form, the HTML optgroup element (<optgroup>) creates a grouping of options within a <select> element.

Documentation for this class was provided by MDN.
var disabled : Bool
If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't received any browsing events, like mouse clicks or focus-related ones.
var label : String
The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used.
Back | Index