Skip to content

Releases: marcojakob/dart-html5-dnd

0.3.5

11 Nov 09:58
Compare
Choose a tag to compare

Update to dart libraries 0.9.0

0.3.4

08 Oct 11:30
Compare
Choose a tag to compare
  • Fix Issue #13: html5_dnd is incompatible with js-interop and the latest SDK
    • Remove dependencies on meta package
    • Add version constraints on dependencies

0.3.3

08 Oct 11:24
Compare
Choose a tag to compare
  • Support dragging of SVG elements (Issue #7). Dragging of SVG elements uses the
    emulated mode in all browsers.
  • Add tests for dragging SVG elements.

0.3.2

03 Jul 18:21
Compare
Choose a tag to compare
  • 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

03 Jul 18:24
Compare
Choose a tag to compare
  • 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

03 Jul 18:25
Compare
Choose a tag to compare
  • 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.
  • 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

03 Jul 18:26
Compare
Choose a tag to compare
  • Fix Issue #6: Bug in Firefox when dragging over nested elements
  • Fix Issue #1: overClass (.dnd-over) stays after drag ended
  • Fix Issue #4: Support any HTML Element as drag image
  • Fix Issue #5: Always use Drag Image Polyfill for IE9 drags

0.2.0

03 Jul 18:27
Compare
Choose a tag to compare
  • 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

03 Jul 18:28
Compare
Choose a tag to compare
  • First Version.