Optional
anchor?: HTMLElementA child of target
to render the component immediately before.
The Svelte component class / constructor function.
The Svelte component class / constructor function.
Optional
context?: (() => Record<string, any> | Map<string, any> | Map<string, any> | Record<string, any>)The root-level context to pass to the component.
Optional
hydrate?: booleanSee description in main Svelte docs Creating a component.
Optional
intro?: booleanIf true, will play transitions on initial render, rather than waiting for subsequent state changes.
Optional
props?: (() => Record<string, any> | Record<string, any>)Props to pass to the component.
Optional
target?: HTMLElement | ShadowRootA HTMLElement or ShadowRoot to
render to. By default, document.body
is used as the target if not otherwise defined.
Defines the TRL / client side configuration object to load a Svelte component.