Class SvelteComponentTyped<Props, Events, Slots>
Type Parameters
Hierarchy
- SvelteComponent<Props, Events, Slots>
- SvelteComponentTyped (view full)
Index
Constructors
Methods
Constructors
constructor
- new
Svelte <Props, Events, Slots>(options): SvelteComponentTyped<Props, Events, Slots>Component Typed Type Parameters
Parameters
- options: ComponentConstructorOptions<Props>
Returns SvelteComponentTyped<Props, Events, Slots>
Methods
$destroy
$on
- $on<K>(type, callback): (() => void)
Type Parameters
Returns (() => void)
- (): void
Returns void
Deprecated
Use
SvelteComponent
instead. See PR for more information: https://github.com/sveltejs/svelte/pull/8512