Teleport.svelte

view source

Declarations
#

Teleport
#

Teleport.svelte view source

accepts children

import Teleport from '@fuzdev/fuz_ui/Teleport.svelte';

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
optional

onmove?

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

children

type Snippet<[]>