UNPKG

svelte-ux

Version:

- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`

15 lines (14 loc) 577 B
type PortalOptions = { enabled?: boolean; target?: HTMLElement | string; }; /** * Render component outside current DOM hierarchy * @see: * - https://dev.to/jsmitar/svelte-creating-dialog-component-with-use-portal-3hp4 * - https://svelte.dev/repl/79e33c2d7695444b994ba74255bb1387?version=3.24.0 * - https://svelte.dev/repl/86ec36c27be2471f86590e0c18c7198c?version=3.23.2 * - https://github.com/sveltejs/svelte/issues/3088#issuecomment-505785516 */ export default function portal(node: HTMLElement, options?: PortalOptions): SvelteActionReturnType; export {};