dnd 0.3.1 dnd: ^0.3.1 copied to clipboard
Drag and Drop for Dart web apps with mouse and touch support.
Changelog #
Version 0.3.1 (2016-07-26) #
- Support for programmatic drag abort (see issue #11).
Version 0.3.0 (2015-04-18) #
- BREAKING CHANGE: Refactoring the
AvatarHandler
. Only if you've implemented a customAvatarHandler
you might need to do some changes:setPointerEventsNone
andresetPointerEvents
were removed and don't need to be called any more. Pointer event styles are handled automatically.
- Fix
AvatarHandler
margin caching: TheAvatarHandler
only cached the margins once for everyDraggable
. This caused problems when margins of elements in the sameDraggable
had different margins or the margins were changed. Now the margins are reset after every drag.
Version 0.2.1 (2015-03-09) #
- Fix #9: Using transformers in the main
pubspec.yaml
caused problems with projects depending on thednd
package.
Version 0.2.0 (2015-03-09) #
- Fix #3: Shadow DOM is now supported. A
dnd-retarget
attribute must be added to all custom elements where events should be forwarded to the Shadow DOM children. - Fix #7: Add a css class (
dnd-invalid
by default) to dropzones when a not-accepted draggable is dragged over.
Version 0.1.4 (2014-10-20) #
- Add a sortable example.
- Change comments according to new Dart Style Guide rule
(
///
instead of/** */
). - Move event dispatching calls from EventManager to Draggable (refactoring).
Version 0.1.3 (2014-08-09) #
- Fix #4: Problem when an ancestor of the dragged element was positioned (relative, absolute, fixed).
Version 0.1.2 (2014-07-22) #
- Correcting small bug that occurred when setSelectionRange() was called on an element that does not support it.
- Fix Pointer Event bug: Too many event listeners in move, end, cancel.
- Fix for Bug #1 - Not working in Windows 8.1 IE11
- Adding a
cancelled
flag toDraggableEvent
to indicate if a drag ended because of a cancelling operation likeesc
key, etc.
Version 0.1.1 (2014-07-21) #
- Support for IE10 and IE11 touch screens through pointer events.
- Removed
disableTouch
anddisableMouse
options. The goal was to unify touch and mouse dragging, so it should not be necessary to disable one or the other.
Version 0.1.0 (2014-07-17) #
- First version.