@sveltek/attachments
v0.2.1
Published
A collection of custom attachments for Svelte.
Maintainers
Readme
[!NOTE]
Since attachments are a new feature in Svelte, this project is in an early testing phase to experiment with their implementation. As a result, breaking changes are very likely before the first stable release.
If you find any issues or bugs, please report them so the project can be improved.
Installation
# via pnpm
pnpm add @sveltek/attachments# via npm
npm install @sveltek/attachmentsAttachments
Required:
svelte:>=5.29.0
- clickOutside → Triggers a callback when clicking outside the target element.
- keyboard → Triggers a callback when a specified keyboard event occurs.
- preventScroll → Prevents scrolling on the target element.
License
Developed in 🇭🇷 Croatia, © Sveltek.
Released under the MIT license.
