HTMLDetailsElement
HTMLDetailsElement
接口提供了特殊的属性 (除了常规的 HTMLElement
接口之外,它还可以通过继承获得这些属性) 用于操作 <details>
元素。
must be a string
属性
从其父级 HTMLElement
继承属性.
方法
没有特定的方法;继承其父方法 HTMLElement
.
规范
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>