Skip to content

Releases: xieziyu/angular2-draggable

v1.2.0

07 Feb 03:27
4d1e27b
Compare
Choose a tag to compare

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

05 Feb 06:17
6b91197
Compare
Choose a tag to compare

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

20 Dec 05:39
Compare
Choose a tag to compare

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.

v1.0.3

13 Jun 05:24
Compare
Choose a tag to compare

New

  • Support started and stopped dragging event.

v1.0.2

05 May 10:57
Compare
Choose a tag to compare

BugFix

  • It now saves and restores the position and z-index properties.
  • It now calculates the correct left and top properties from CSS value.

v1.0.1

05 May 01:43
Compare
Choose a tag to compare

BugFix

  • Giving all draggable elements the position relative (PR: #1, thanks to tylerlindell)

Changes

  • Bring moving element to the top by setting z-index (PR: #1, thanks to tylerlindell)

v1.0.0

03 May 15:37
Compare
Choose a tag to compare

Release Note

  • Support ngDraggable property
  • Support handle property
  • Add ng-draggable class to DOM element