Dart API Referencedart:htmlOptGroupElement

OptGroupElement Interface

In a web form, the HTML optgroup element (<optgroup>) creates a grouping of options within a <select> element.

Extends

Element

Constructors

Code new OptGroupElement() #

OptGroupElement();

Fields

Code bool disabled #

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.
bool disabled;

Code String label #

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.
String label;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.