v1.0.0-beta.4
Pre-release
Pre-release
Added
- Default
Draggableplugins get exposed statically onDraggable.Plugins - Default
AutoScrollplugin for Draggable, which auto scrolls containers/viewport while dragging yarn watchtask for auto-building the librarysource:originalclass option for DraggableDraggable#getDraggableElementsForContainermethod, which returns all draggable elements for a given containerMirrorCreateEvent, which allows for canceling mirror creationAbstractPluginto use as Base class for all Draggable plugins- More test coverage
Changed
- Fixed
Sortablesort logic by excluding mirror and original source elements in calculations DraggableappendTooption now uses sources parent element as default, instead ofdocument.bodyDraggableappends over classes after triggering over/out eventsDraggableappends source into empty containers- Mirrors margin gets removed on creation in the mirror plugin
- Fix for mirror when drag start gets canceled
- Fixes memory leak in Draggable when calling
destroy() - Fixes race condition for the
source:placedclass - Changed
AbstractEvent#_canceledto use symbols for private instance variables - Some fixes for the documentation READMEs