Releases: xieziyu/angular2-draggable
Releases · xieziyu/angular2-draggable
v1.2.0
1.2.0 (2018-02-07)
New
- Provide
resetPosition()
method to reset position.
Breaking Changes
- Use
Renderer2
of angular-core. So we don't support angular version < 4.0.
Bugfix
[trackPosition]
was not working as expected.
Changes
- The directive now
exportAs: 'ngDraggable'
. [preventDefaultEvent]
set default to false.
v1.1.0
1.1.0 (2018-02-01)
New
- Provide
[trackPosition]
option: whether to track the element's movement. (PR by Blackbaud-MikitaYankouski) - Provide
[scale]
option: to fix scaling issue #31 - Provide
[preventDefaultEvent]
option: whether to prevent default mouse or touch event. (default: true)
v1.1.0-beta.0
2017-12-20
New
- Provide
[zIndex]
and[zIndexMoving]
to control z-index property. - Provide
[bounds]
,(edge)
and[inBounds]
to do boundary check and limit element staying in the bounds.