HTMLDetailsElement
HTMLDetailsElement
インターフェイスは、(継承によって利用できる通常の HTMLElement
インターフェイスのもの以外の)<details>
を操作するための特殊なプロパティを提供します。
インスタンスプロパティ
親である HTMLElement
からプロパティを継承しています。
HTMLDetailsElement.open
-
HTML の
open
属性を反映する論理値で、要素の内容(<summary>
を除く)がユーザーに表示されているかどうかを示します。
インスタンスメソッド
固有のメソッドはありません。親である HTMLElement
からメソッドを継承しています。
イベント
このイベントは addEventListener()
を使用するか、このインターフェイスの onイベント名
プロパティにイベントリスナーを代入することで待ち受けします。
仕様書
Specification |
---|
HTML # htmldetailselement |
HTML # event-toggle |
ブラウザーの互換性
api.HTMLDetailsElement
Report problems with this compatibility data on GitHubLegend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No 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.
api.HTMLElement.toggle_event.details_elements
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
toggle event fires at details elements |
Legend
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 要素:
<details>