Swapy
v1.0.3
Docs
License
License
Navigation
Getting Started
Simple Example
Getting Started
Installation
Simple Example
Attributes
Handle Element
No Drag Elements
Config Options
Animation
Enabled
Swap Mode
Auto-scroll on Drag
Drag on Hold
Drag Axis
Manual Swap
Methods
Enable or Disable
Update
Destroy
Get SlotItemMap
Events
Swap Event
Swap Start Event
Swap End Event
Before Swap Event
Styling
Style Highlighted Slot
Style Dragging Item
Framework Integration
React
React (Dynamic)
Vue
Vue (Dynamic)
Svelte
Svelte (Dynamic)
Getting Started
Simple Example
How to use Swapy.
See a full vanilla TypeScript example