svelte-dragdroplist
- Purpose: A Svelte component for creating sortable lists with drag-and-drop functionality, featuring bidirectional binding and full touch support.
- Key Features:
- Bidirectional binding: Updates data order in real-time during drag operations.
- Touch-friendly: Doesn't rely on HTML5 drag and drop API.
- Accessible: Includes buttons for moving elements without dragging.
- Supports unique IDs, HTML content, and removable items.
- Target Audience: Developers looking for an easy-to-use, accessible, and touch-compatible drag-and-drop list solution in Svelte.
- Svelte Support: Primarily designed for Svelte, with examples provided in Svelte REPLs.
- Styling: Customizable via global CSS classes prefixed with
.dragdroplist
. - Future Work: Plans to add more animations on drop.
sveltesvelte-v3svelte-componentssortable-listsdrag-and-drop
Author
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button