dom
访问仅特殊扩展程序可用的 DOM 特性。
函数
dom.openOrClosedShadowRoot()
-
获取指定元素的开放或封闭的影子(shadow)DOM。如果影子 DOM 未附加到该元素,则返回
null
。
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
dom | |||||||
openOrClosedShadowRoot |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
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.