@tempots/dom
DOMContext.(constructor)
Constructs a new DOMContext
instance.
Signature:
constructor(
document: Document,
element: Element,
reference: Node | undefined,
providers: Providers,
isFirstLevel: boolean);
Parameters
Parameter |
Type |
Description |
---|---|---|
document |
Document |
The |
element |
Element |
The |
reference |
Node | undefined |
An optional |
providers |
The | |
isFirstLevel |
boolean |
A boolean value indicating whether this context is at the first level, meaning the outermost node in the generated DOM. |