CSS.paintWorklet.addModule()
GPTKB entity
Statements (16)
Predicate | Object |
---|---|
gptkbp:instanceOf |
Web API Method
|
gptkbp:affiliatedWith |
gptkb:paintWorklet
|
gptkbp:availableOn |
WindowOrWorkerGlobalScope
|
gptkbp:definedIn |
gptkb:CSS_Painting_API
|
https://www.w3.org/2000/01/rdf-schema#label |
CSS.paintWorklet.addModule()
|
gptkbp:introducedIn |
gptkb:Chrome_65
|
gptkbp:parameter |
USVString
moduleURL |
gptkbp:purpose |
Loads a paint worklet module
|
gptkbp:result |
Promise<void>
|
gptkbp:specifies |
https://drafts.css-houdini.org/css-paint-api/#dom-paintworklet-addmodule
|
gptkbp:staticMethod |
true
|
gptkbp:throws |
TypeError (if moduleURL is invalid)
|
gptkbp:usedFor |
Registering custom paint worklets
|
gptkbp:bfsParent |
gptkb:Paint_Worklet
|
gptkbp:bfsLayer |
7
|