- Package renamed to
ng-drag-drop
- Module renamed from
Ng2DragDropModule
toNgDragDropModule
- Package no longer compatible with Angular 2.0. Peer dependency is now angular >= 4.3.0
- Package
ng2-drag-drop
deprecated. This is the final release. Renamed tong-drag-drop
.
- Add support for async dropScope function, closes (#97) via Pull Request (#98)
- Fix null draghandler, closes (#100)
- Version skipped
- This is actually version 2.9.0. See the note below.
Note: These versions are skipped because npm failed to execute prepublishonly
task before publishing.
Enhacements:
Bugfixes:
- Fixed AOT Compilation, closes (#95)
Note: This version is broken and does not compile under AOT, use 2.8.0 instead.
Enhacements:
- Added
dragTransit
class, closes (#87)
Bugfixes:
- Drag handle intermittently not working, closes (#89)
Enhacements:
- DropScope can now be function, closes (#79)
- Use use
prepublishOnly
instead ofprepublish
script inpackage.json
, closes (#78)
Bugfixes:
- Set draggble property on the
draggable
directive viaHostBinding()
. Resolves (#65) - Use DropEvent for Type Checking, pull request (#63)
- Droppable not working between different components, closes (#50) via pull request (#61)
Bugfixes:
- Clear service data on drop end, closes (#56)
Bugfixes:
- dragOverClass assigned to non valid drop targets, closes (#28)
- unable to transpile with tsc 2.3.2, node 7.10.0, npm 4.2.0, pull request (#51)
- fixed issue where the dragImage was not displayed on first drag operation, is appended to DOM and stays there forever.
Enhacements:
- Added a default set of CSS that can be used out of the box.
- Added
dragHandleClass
ondraggable
that is applied to either draggable or its handle element (if defined).
BREAKING CHANGES
Draggable.dragOverClass
has been renamed todragClass
Bugfixes:
- ObjectUnsubscribedError bug fix, closes (#43)
Enhacements:
-
Added ability to disable draggable and droppable, closes (#41)
-
Highlight valid drop targets upon drag start, closes (#27)
-
Added custom dragHandler feature on draggable. Currently only supports images will enhance this in later releases, closes (#22)
Bugfixes:
- Fix for firefox, closes (#40)
Bugfixes:
Enhacements:
- Added AOT Support, closes (#24)
Bugfixes:
- removed
draggable=false
attribute on droppable, closes (#13)
Enhacements:
- droppable.dragOverClass is applied only on droppable element, closes (#15)
Enhacements:
- droppable.dragOverClass is applied only on droppable element, closes (#15)
Bugfixes:
- Support Microsoft Edge Browser, closes (#8)
Features:
- Scope is now an array of string, closes (#11)