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): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| root | Document | DocumentOrShadowRoot | ShadowRoot | The document or shadow root to mount into. |
| $module | StyleModule | readonly StyleModule[] | |
| options? | StyleModuleMountOptions | Optional mount options. |
Returns: void