dnd library
Classes
- Acceptor
- An acceptor defines which draggable elements are accepted by a Dropzone.
- AnimationHelper
- Simple helper class to speed up animation with requestAnimationFrame.
- AvatarHandler
- The AvatarHandler is responsible for creating, position, and removing a drag avatar. A drag avatar provides visual feedback during the drag operation.
- CloneAvatarHandler
- CloneAvatarHandler creates a clone of the draggable element as drag avatar. The avatar is removed at the end of the drag operation.
- Draggable
- The Draggable detects drag operations for touch and mouse interactions and optionally creates a drag avatar for visual feedback of the drag. Event streams are provided to track touch or mouse dragging:
- DraggableEvent
- Event used when a drag is detected.
- DraggablesAcceptor
- The DraggablesAcceptor accepts all drag elements that are part of the specified list of Draggables.
- Dropzone
- The Dropzone detects when a Draggable is dragged over it or dropped on it. An acceptor can be provided to specify which Draggables will be accepted.
- DropzoneEvent
- Event for dropzone elements.
- OriginalAvatarHandler
- The OriginalAvatarHandler uses the draggable element itself as drag avatar. It uses absolute positioning of the avatar.