UNPKG

@zag-js/svelte

Version:

The svelte wrapper for zag

10 lines (9 loc) 341 B
export interface PortalActionProps { disabled?: boolean | undefined; container?: HTMLElement | undefined; getRootNode?: (() => ShadowRoot | Document | Node) | undefined; } export declare function portal(node: HTMLElement, props?: PortalActionProps): { destroy: () => void; update: (props?: PortalActionProps) => void; };