1.0.0 • Published 9 months ago

@svelte-put/popover v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@svelte-put/popover

npm.badge bundlephobia.badge docs.badge

Idiomatic Svelte enhancements to Popover API

svelte-put

This package is part of the @svelte-put family. For contributing guideline and more, refer to its readme.

Usage & Documentation

See the dedicated documentation page here.

Quick Start

<script>
	import { Popover } from '@svelte-put/popover';

	const popover = new Popover();
</script>

<button {...popover.control.attributes} use:popover.control.actions>
	Open me Popover
</button>

<div {...popover.target.attributes} use:popover.target.actions>
	<p>Popover content. Click backdrop to dismiss</p>
</div>

Changelog

1.0.0

9 months ago

1.0.0-next.4

11 months ago

1.0.0-next.3

1 year ago

1.0.0-next.2

1 year ago

1.0.0-next.1

1 year ago