Class SvelteComponent_1<Props, Events>
Type Parameters
- Props extends Record<string, any> = any
- Events extends Record<string, any> = any
Constructors
constructor
-
Type Parameters
- Props extends Record<string, any> = any
- Events extends Record<string, any> = any
Methods
$on
-
$on<K extends string>(type: K, callback: (e: Events[K]) => void): () => void
Parameters
- type: K
- callback: (e: Events[K]) => void
Returns () => void
Base class for Svelte components. Used when dev=false.