- This provides an overview of the special elements in Svelte.
- Video - svelte:element - lihautan
- Documentation - Special Elements - Svelte Docs
- The slot element is used to define slots in a component’s template that can be filled with content from the component’s parent.
- The self element is used to reference the component itself in its template.
- The component element is used to dynamically render a component based on a given condition.
- The window store is used to access the browser’s window object.
- The body store is used to access the body element of the current document.