Optional
html: stringInsert component after the last child
Clone this component. Event listeners are not cloned.
Whether 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
Optional
parent: ParentNode = documentThe parent element within to search for slots. Defaults to document
DOMException When the slot is not found
Static
tagTemplate literal tag function that accepts HTML code with components in a string literal
A DocumentFragment component