variable / @typed/template/WebComponent
CurrentShadowRoot
Selects an open shadow root by default. Provide false for light DOM.
The selection is captured when the registration layer or server view runs.
- Package version
- 1.0.0-beta.13
- Category
- Web Components
- Since
- 1.0.0
Import
import { CurrentShadowRoot } from "@typed/template/WebComponent";
Signatures
export declare const CurrentShadowRoot: Context.Reference<false | ShadowRootOptions>;
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.