Definition
Realm execution contexts tied to the LayoutWorklet
Global name use LayoutWorkletGlobalScope
as a basis for their global object.
This means their global object exposes the following members:
undefined registerLayout(DOMString name, VoidFunction layoutCtor);
The following interfaces are exposed exclusively in the corresponding realms:
- AbortController
- AbortSignal
- BreakToken
- ByteLengthQueuingStrategy
- ChildBreakToken
- CompressionStream
- CountQueuingStrategy
- CustomEvent
- DOMException
- DecompressionStream
- ErrorEvent
- Event
- EventTarget
- FragmentResult
- Global
- Instance
- IntrinsicSizes
- LayoutChild
- LayoutConstraints
- LayoutEdges
- LayoutFragment
- LayoutWorkletGlobalScope
- Memory
- Module
- Observable
- PromiseRejectionEvent
- ReadableByteStreamController
- ReadableStream
- ReadableStreamBYOBReader
- ReadableStreamBYOBRequest
- ReadableStreamDefaultController
- ReadableStreamDefaultReader
- Subscriber
- Table
- TextDecoder
- TextDecoderStream
- TextEncoder
- TextEncoderStream
- TransformStream
- TransformStreamDefaultController
- URL
- URLSearchParams
- WebTransportWriter
- WritableStream
- WritableStreamDefaultController
- WritableStreamDefaultWriter
The following interfaces are also exposed in the corresponding realms:
- AbortController
- AbortSignal
- ByteLengthQueuingStrategy
- CSSColor
- CSSColorValue
- CSSHSL
- CSSHWB
- CSSImageValue
- CSSKeywordValue
- CSSLCH
- CSSLab
- CSSMathClamp
- CSSMathInvert
- CSSMathMax
- CSSMathMin
- CSSMathNegate
- CSSMathProduct
- CSSMathSum
- CSSMathValue
- CSSMatrixComponent
- CSSNumericArray
- CSSNumericValue
- CSSOKLCH
- CSSOKLab
- CSSPerspective
- CSSRGB
- CSSRotate
- CSSScale
- CSSSkew
- CSSSkewX
- CSSSkewY
- CSSStyleValue
- CSSTransformComponent
- CSSTransformValue
- CSSTranslate
- CSSUnitValue
- CSSUnparsedValue
- CSSVariableReferenceValue
- CompressionStream
- CountQueuingStrategy
- CustomEvent
- DOMException
- DecompressionStream
- ErrorEvent
- Event
- EventTarget
- Global
- Instance
- Memory
- Module
- Observable
- PromiseRejectionEvent
- ReadableByteStreamController
- ReadableStream
- ReadableStreamBYOBReader
- ReadableStreamBYOBRequest
- ReadableStreamDefaultController
- ReadableStreamDefaultReader
- StylePropertyMapReadOnly
- Subscriber
- Table
- TextDecoder
- TextDecoderStream
- TextEncoder
- TextEncoderStream
- TransformStream
- TransformStreamDefaultController
- URL
- URLSearchParams
- WebTransportWriter
- WorkletGlobalScope
- WritableStream
- WritableStreamDefaultController
- WritableStreamDefaultWriter