WorkletGlobalScope
WorkletGlobalScope
接口是一个抽象类,特定的 worklet 作用域类从该类继承。每个 WorkletGlobalScope
都定义了一个新的全局环境。
备注:
通常情况下,你不需要与此接口进行交互。它是一个基础接口,旨在被子类化。你将在 AudioWorklet
对象中遇到子类 AudioWorkletGlobalScope
,或在 CSS 绘制 Worklet
对象中遇到子类 PaintWorkletGlobalScope
。
实例属性
无。
实例方法
无。
规范
Specification |
---|
HTML # workletglobalscope |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
WorkletGlobalScope |
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.