v1.0.0-beta.3
Pre-release
Pre-release
Added
- Bundle split, draggable now exports multiple bundles
- Adds JS bundle per module
- Adds legacy bundle for IE11
- Adds axis & dimension constraint options for mirror plugin
- Basic swap animation plugin
- Draggables API is now accessible via inheritance for
Sortable,SwappableandDroppable - Draggables API extended
addSensorto add sensor dynamicallyremoveSensorto remove a sensor dynamicallyaddPluginto add a plugin dynamicallyremovePluginto remove a plugin dynamicallyaddContainerto add a container dynamicallyremoveContainerto remove a container dynamicallyisDraggingto check if instance is currently dragging
- New
sortable:sortevent that can be canceled to prevent sorting - New
swappable:swapevent that can be canceled to prevent swapping - Added more documentation
Changes
SortableSortedEvent(sortable:sorted) now returns correct indexesSortableStartEventgets fired now- Plugins and Sensors are exported with namespace
- Removes reflow by removing unused lookup of next scroll parent
- Draggable delay option is now
100by default, instead of0 - Draggables private methods are now really private
- Sensor improvements
TouchSensornow prevents scrolling without preventDefaultMouseSensornow prevents native elements to start dragging during delay- All sensors now listen to document rather than each container