AbstractNode type
ProtectedconstructorProtectedInitial node for this component
Insert component after the last child
AbstractcloneClone this component. Event listeners are not cloned.
Optionaldeep: booleanWhether to clone the whole subtree.
A duplicate of this component.
Run a function in the context of this component
Provides this component as the first argument and this.
Empty the component (remove children)
Add event listener
A case-sensitive string representing the event type to listen for.
The function that is called when an event of the specified type occurs.
Add event listener
A case-sensitive string representing the event type to listen for.
The function that is called when an event of the specified type occurs.
An object that specifies characteristics about the event listener. See options on MDN
Add event listener
A case-sensitive string representing the event type to listen for.
The function that is called when an event of the specified type occurs.
Render this component in the place of a <slot name="…"></slot>.
The slot name
Optionalparent: ParentNode = documentThe parent element within to search for slots. Defaults to document
DOMException When the slot is not found
A Node component