StyleModule.mount method
StyleModule › mount
Unofficial
Mount style module(s) into a document or shadow root.Signature:
mount(root: Document | DocumentOrShadowRoot | ShadowRoot, module: StyleModule | readonly StyleModule[], options?: StyleModuleMountOptions | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| root | Document | DocumentOrShadowRoot | ShadowRoot | The document or shadow root to mount into. |
| module | StyleModule | readonly StyleModule[] | The style module(s) to mount. |
| options? | StyleModuleMountOptions | undefined | Optional mount options. |
Returns: void