HTMLOptGroupElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
HTMLOptGroupElement
インターフェイスは、(継承によって利用できる通常の HTMLElement
オブジェクトインターフェイスのもの以外に)<optgroup>
要素のレイアウトや表示を操作するための特別なプロパティやメソッドを提供します。
インスタンスプロパティ
親である HTMLElement
からプロパティを継承しています。
HTMLOptGroupElement.disabled
-
論理値で、子要素
<option>
のリスト全体が無効か (true) そうでないか (false) を表します。 HTMLOptGroupElement.label
-
文字列で、グループのラベルを表します。
インスタンスメソッド
固有のメソッドはありません。親である HTMLElement
からメソッドを継承しています。
仕様書
Specification |
---|
HTML # htmloptgroupelement |
ブラウザーの互換性
Report problems with this compatibility data on GitHubLegend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
関連情報
- このインターフェイスを実装している HTML 要素:
<optgroup>