Use svelte:self
to render the current component recursively.
Use svelte:component
to dynamically render a component.
Use svelte:element
to dynamically render an element.
Use svelte:window
to add an event listener to the window
object, or bind local data to a value of window
.
Use svelte:body
and svelte:document
to bind event listeners.
Use svelte:head
to add contents in the <head>
of the document.
Use svelte:options
to specify compiler options for the component.
Use svelte:fragment
fill a named slot without wrapping it in an HTML element.