Create component
Text node instance or text content string
DOMException Always
Clone this text 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
Get the text content
A text node component