@svelte-put/movable
TypeScript icon, indicating that this package has built-in type declarations

3.2.0 • Public • Published

@svelte-put/movable

npm.badge bundlephobia.badge docs.badge repl.badge

Svelte action use:movable - make a node move on mousedown & mousemove

demo

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 lang="ts">
  import { movable } from '@svelte-put/movable';
</script>

<div class="h-20 w-20" use:movable>...</div>

Changelog

Package Sidebar

Install

npm i @svelte-put/movable

Weekly Downloads

226

Version

3.2.0

License

MIT

Unpacked Size

32.6 kB

Total Files

8

Last publish

Collaborators

  • vnphanquang