https://github.com/niklasramo/dragdoll
Modular and extensible drag & drop system.
https://github.com/niklasramo/dragdoll
dnd drag drag-and-drop draggable drop
Last synced: over 1 year ago
JSON representation
Modular and extensible drag & drop system.
- Host: GitHub
- URL: https://github.com/niklasramo/dragdoll
- Owner: niklasramo
- License: mit
- Created: 2021-06-10T07:04:46.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T19:16:55.000Z (about 2 years ago)
- Last Synced: 2024-05-01T23:38:30.622Z (about 2 years ago)
- Topics: dnd, drag, drag-and-drop, draggable, drop
- Language: TypeScript
- Homepage: https://niklasramo.github.io/dragdoll/
- Size: 8.96 MB
- Stars: 25
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
DragDoll is a modular and highly extensible drag system written in TypeScript. It's originally based on [Muuri's](https://github.com/haltu/muuri) internal drag system, but fully redesigned to be used as a general purpose drag system.
📡 **Sweet Sensors**
A well-documented and extendable Sensor system that normalizes any input into unified drag events, giving you complete control over user interactions.
🤏 **Dynamic Draggables**
A highly customizable and pluggable Draggable system with autoscrolling superpowers, making complex drag-and-drop scenarios effortless.
🪄 **Magical Transforms**
Finally, transformed (2D) elements can be dragged normally. Rotate, scale, skew, and translate to your heart's content without limitations.
🧘 **Blissful DX**
Experience a seamless developer experience with strong typing, smart defaults, and pre-baked solutions for common use cases.
🍦 **Vanilla Flavour**
No frameworks were abused while writing this library. It's all vanilla framework-free TypeScript down to the core.
💝 **Free & Open Source**
100% MIT licensed, spread the love.
## Docs
https://niklasramo.github.io/dragdoll/
## Copyright
Copyright © 2022-2024, Niklas Rämö (inramo@gmail.com). Licensed under the [MIT license](/LICENSE.md).