HTMLDataListElement
HTMLDataListElement
接口提供特定的属性(除了常规的 HTMLElement
接口以外,它还可以通过继承来使用),用于操作 <datalist>
元素和它们的内容。
实例属性
从其父接口 HTMLElement
继承属性。
HTMLDataListElement.options
只读-
HTMLCollection
表示一个包含选项元素的集合。
实例方法
没有特定的方法,从其父接口 HTMLElement
继承方法。
规范
Specification |
---|
HTML # htmldatalistelement |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLDataListElement | ||||||||||||
options |
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 元素:
<datalist>