Releases: marcojakob/dart-html5-dnd
Releases · marcojakob/dart-html5-dnd
0.3.5
0.3.4
0.3.3
0.3.2
- Support 'cancel' query String to prevent dragging: A 'cancel' query String
may be supplied for draggables to prevent starting a drag on specific elements. - Improve clearing of selection when drag starts.
- Fix some bugs in touch support.
- Firing sortUpdate events after dragEnd events: Firing sortUpdate at the end
makes sure that the listener of update events can uninstall/install involved
draggables without side-effects - Add some additional test examples.
0.3.1
- Touch Event support (Issue #3): Uses touchStart, touchMove, and touchEnd
events to emulate HTML5 drag and drop behaviour. - Reorganized some parts. Now only html5_dnd.dart needs to be imported and
sortable is imported automatically. If some functionality like sortable isn't
used, Dart's treeshaking will make sure no unnecessary code is added. - Add extended usage documentation to readme.
0.3.0
- Completely emulating drag and drop in IE9 and partly in IE10 (when custom drag
images are used):- The workaround with calling dragDrop() on IE did not work
reliably and was slow. Also, we could not have the drag image under the
mouse cursor as events would not be forwarded to element underneath. - No javascript file is needed any more and the dependency on js-interop
has been removed. - Emulation works by listening to mouseDown, mouseUp and mouseMove events
and translating them to the HTML5 dragStart, drag, dragEnd, dragEnter,
dragOver, dragLeave and drop events.
- The workaround with calling dragDrop() on IE did not work
- More stable handling of nested elements. Instead of keeping track of
dragOverElements in a list, the related target of the event is used to
determine if it is an event that happened on the main element or bubbled
up from child elements.
0.2.1
0.2.0
- Changed API to using groups of Draggables/Dropzones/Sortables. Now options
and event listeners are set on a group instead of individual elements. - Ability to install/uninstall elements. Adds/Removes event subscriptions on
an element. - SortableEvent now carries information about the original group of the
dragged element and the new group it was dragged to. This enables
uninstalling in the previous group and installing in the new group. - Other minor improvements in Sortable.
0.1.0
- First Version.