Teleport.svelte

Declarations
#

view source

Teleport
#

Teleport.svelte view source

to?

Defaults to undefined to lessen friction with SSR. We may want to change this to optionally accept a string selector, but that didn't seem to be the best API for the Dialog.

type HTMLElement | undefined | null
optional

onmove?

type (el: HTMLElement, to: HTMLElement) => void
optional

children

type Snippet

Imported by
#