Class SvelteComponentTyped<Props, Events, Slots>

Deprecated

Use SvelteComponent instead. See PR for more information: https://github.com/sveltejs/svelte/pull/8512

Type Parameters

  • Props extends Record<string, any> = any

  • Events extends Record<string, any> = any

  • Slots extends Record<string, any> = any

Hierarchy (view full)

Constructors

Methods

  • Type Parameters

    • K extends string

    Parameters

    • type: K
    • callback: ((e) => void)
        • (e): void
        • Parameters

          Returns void

    Returns (() => void)

      • (): void
      • Returns void

Properties

$$: any

PRIVATE API

Do not use, may change at any time

$$events_def: Events

For type checking capabilities only. Does not exist at runtime.

DO NOT USE!

$$prop_def: Props

For type checking capabilities only. Does not exist at runtime.

DO NOT USE!

$$set: any

PRIVATE API

Do not use, may change at any time

$$slot_def: Slots

For type checking capabilities only. Does not exist at runtime.

DO NOT USE!