This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
Feature release 1.4.0
- dnd-handle directive: This directive can be used in combination with
dnd-nodrag
, so that adnd-draggable
can only be dragged by using certain handle elements. Demo - dnd-drop can handle insertion: The
dnd-drop
callback can now return true to signalize that it will take care of inserting the dropped element itself.dnd-list
will then no longer insert any elements into the list, but will still call thednd-inserted
callback. - Fix dnd-disable-if on dnd-draggable: When you disabled a
dnd-draggable
withdnd-disable-if
, the user was still able to trigger a drag of that element by selecting some text inside the element. (issue #159) - dnd-list now handles the dragenter event: According to the HTML5 standard dropzones need to handle the
dragenter
event, although there doesn't seem to be any browser that enforces this. (issue #118)