v1.0.0-beta.4
Pre-release
Pre-release
Added
- Default
Draggable
plugins get exposed statically onDraggable.Plugins
- Default
AutoScroll
plugin for Draggable, which auto scrolls containers/viewport while dragging yarn watch
task for auto-building the librarysource:original
class option for DraggableDraggable#getDraggableElementsForContainer
method, which returns all draggable elements for a given containerMirrorCreateEvent
, which allows for canceling mirror creationAbstractPlugin
to use as Base class for all Draggable plugins- More test coverage
Changed
- Fixed
Sortable
sort logic by excluding mirror and original source elements in calculations Draggable
appendTo
option now uses sources parent element as default, instead ofdocument.body
Draggable
appends over classes after triggering over/out eventsDraggable
appends 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:placed
class - Changed
AbstractEvent#_canceled
to use symbols for private instance variables - Some fixes for the documentation READMEs