svelte-tether
v0.2.1
Published
A small collection of Svelte wrapper components to teleport snippets from one place to another. Useful for popovers and modal elements.
Maintainers
Readme
Svelte Tether
A small collection of Svelte wrapper components to teleport snippets from one place to another. Useful for popovers and modal elements.
The library is written with Svelte snippets in mind. Basic usage of a tether wrapper looks like this:
<Tether origin="top-center">
{#snippet portal()}
<i>Tether.</i>
{/snippet}
<span>Sample text.</span>
</Tether>Make sure to check out the documentation for concepts, examples and use cases!
