You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,9 +27,12 @@ angular2-draggable has angular directives that make the DOM element draggable an
25
27
+ provided since v2.0, requires Angular >= 6
26
28
27
29
# Latest Update
30
+
+ 2018.08.20: 2.1.2
31
+
+**ngDraggable**: fix [issue #97](https://github.com/xieziyu/angular2-draggable/issues/97): Item is produced with div partially out of bounds.
32
+
28
33
+ 2018.08.14: 2.1.1
29
-
+ ngResizable: Provide `[rzGrid]`. Snaps the resizing element to a grid.
30
-
+ ngResizable: Provide `[rzMinWidth]`, `[rzMaxWidth]`, `[rzMinHeight]`, `[rzMaxHeight]`. The minimum/maximum width/height the resizable should be allowed to resize to.
34
+
+**ngResizable**: Provide `[rzGrid]`. Snaps the resizing element to a grid.
35
+
+**ngResizable**: Provide `[rzMinWidth]`, `[rzMaxWidth]`, `[rzMinHeight]`, `[rzMaxHeight]`. The minimum/maximum width/height the resizable should be allowed to resize to.
31
36
+ Bugfix: resizing from w, nw or n with a min/max size moves the window if it goes below/above the min/max size. [#94](https://github.com/xieziyu/angular2-draggable/issues/94)
32
37
33
38
+ 2018.08.08: 2.0.1
@@ -37,52 +42,16 @@ angular2-draggable has angular directives that make the DOM element draggable an
37
42
+ Fix [issue #84](https://github.com/xieziyu/angular2-draggable/issues/84): iFrames, and context unrelated elements block all events, and are unusable
38
43
39
44
+ 2018.07.02: 2.0.0-beta.2
40
-
+ ngResizable: Provide `[rzAspectRatio]`, whether the element should be constrained to a specific aspect ratio. [demo](https://xieziyu.github.io/angular2-draggable/#/resizable/aspect-ratio)
41
-
+ ngResizable: Provide `[rzContainment]`, constrains resizing to within the bounds of the specified element or region. [demo](https://xieziyu.github.io/angular2-draggable/#/resizable/containment)
45
+
+**ngResizable**: Provide `[rzAspectRatio]`, whether the element should be constrained to a specific aspect ratio. [demo](https://xieziyu.github.io/angular2-draggable/#/resizable/aspect-ratio)
46
+
+**ngResizable**: Provide `[rzContainment]`, constrains resizing to within the bounds of the specified element or region. [demo](https://xieziyu.github.io/angular2-draggable/#/resizable/containment)
42
47
43
48
+ 2018.06.26: 2.0.0-beta.1
44
-
+ ngResizable: Provide `(rzStart)`, `(rzResizing)`, `(rzStop)` event emitters
45
-
+ ngResizable: Provide `resetSize()`, `getStatus()` methods
49
+
+**ngResizable**: Provide `(rzStart)`, `(rzResizing)`, `(rzStop)` event emitters
50
+
+**ngResizable**: Provide `resetSize()`, `getStatus()` methods
46
51
47
52
+ 2018.06.25: 2.0.0-beta.0
48
53
+ New: `ngResizable` directive which you can use to make the element resizable! More resizable options are planning. Refer to [demo](https://xieziyu.github.io/angular2-draggable/#/resizable/default)
49
54
50
-
+ 2018.05.23: 1.4.2
51
-
+ Changes: expose boundsCheck() method.
52
-
53
-
+ 2018.05.11: 1.4.1
54
-
+ Bugfix: Handle Drag is not working in Firefox [#68](https://github.com/xieziyu/angular2-draggable/issues/68).
55
-
56
-
+ 2018.05.04: 1.4.0
57
-
+ Provide `[gridSize]` option for snapping to grid. Refer to [demo](https://xieziyu.github.io/angular2-draggable/#/advance/snap-grid). (PR [#64](https://github.com/xieziyu/angular2-draggable/pull/64) by [PAHADIx](https://github.com/PAHADIx))
58
-
+ Code optimized. (PR [#60](https://github.com/xieziyu/angular2-draggable/pull/60) by [korn3l](https://github.com/korn3l))
59
-
60
-
+ 2018.04.10: 1.3.2
61
-
+ Provide `[outOfBounds]` option. Set it to allow element get out of bounds from the direction. Refer to [demo](https://xieziyu.github.io/angular2-draggable/#/usage/boundary). (PR [#57](https://github.com/xieziyu/angular2-draggable/issues/58) by [waldo2188](https://github.com/waldo2188))
62
-
63
-
+ 2018.03.15: 1.3.1
64
-
+ Provide `(movingOffset)` event emitter: emit position offset when moving
65
-
+ Provide `(endOffset)` event emitter: emit position offset when stop moving
66
-
67
-
+ 2018.03.09: 1.3.0
68
-
+ Provide `[position]` option: to set current position offset.
69
-
70
-
+ 2018.02.08: 1.2.1
71
-
+ Bugfix: `[preventDefaultEvent]` should not prevent events of elements outside the handle.
72
-
73
-
+ 2018.02.07: 1.2.0
74
-
+**BREAKING CHANGE**: use `Renderer2` of angular-core. So we don't support angular version < 4.0.
75
-
+ Provide: `resetPosition()` method to reset position. Refer to [demo](https://xieziyu.github.io/angular2-draggable/#/usage/api) for details.
76
-
+ Bugfix: `[trackPosition]` was not working as expected.
77
-
+ Change: The directive now `exportAs: 'ngDraggable'`. For example we can use `<div ngDraggable #block="ngDraggable"></div>` to assign this directive to a variable.
78
-
+ Change: `[preventDefaultEvent]` set default to false.
79
-
80
-
+ 2018.02.01: 1.1.0
81
-
82
-
+ Provide `[trackPosition]` option: whether to track the element's movement. (PR by [Blackbaud-MikitaYankouski](https://github.com/Blackbaud-MikitaYankouski))
83
-
+ Provide `[scale]` option: to fix scaling issue [#31](https://github.com/xieziyu/angular2-draggable/issues/31)
84
-
+ Provide `[preventDefaultEvent]` option: whether to prevent default mouse or touch event. (default: true)
85
-
86
55
# Installation
87
56
```
88
57
npm install angular2-draggable --save
@@ -257,3 +226,7 @@ yarn install
257
226
yarndemo
258
227
```
259
228
The demo page server is listening to: http://localhost:4203
Copy file name to clipboardExpand all lines: src/assets/CHANGELOG.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,18 @@
1
+
## 2.1.2 (2018-08-20)
2
+
3
+
#### Bugfix
4
+
+**ngDraggable**: Item is produced with div partially out of bounds. [#97](https://github.com/xieziyu/angular2-draggable/issues/97)
5
+
6
+
---
7
+
1
8
## 2.1.1 (2018-08-14)
2
9
3
10
#### New
4
-
+ ngResizable: Provide `[rzGrid]`. Snaps the resizing element to a grid.
5
-
+ ngResizable: Provide `[rzMinWidth]`, `[rzMaxWidth]`, `[rzMinHeight]`, `[rzMaxHeight]`. The minimum/maximum width/height the resizable should be allowed to resize to.
11
+
+**ngResizable**: Provide `[rzGrid]`. Snaps the resizing element to a grid.
12
+
+**ngResizable**: Provide `[rzMinWidth]`, `[rzMaxWidth]`, `[rzMinHeight]`, `[rzMaxHeight]`. The minimum/maximum width/height the resizable should be allowed to resize to.
6
13
7
14
#### Bugfix
8
-
+ ngResizable: resizing from w, nw or n with a min/max size moves the window if it goes below/above the min/max size. [#94](https://github.com/xieziyu/angular2-draggable/issues/94)
15
+
+**ngResizable**: resizing from w, nw or n with a min/max size moves the window if it goes below/above the min/max size. [#94](https://github.com/xieziyu/angular2-draggable/issues/94)
9
16
10
17
---
11
18
@@ -26,16 +33,16 @@
26
33
## 2.0.0-beta.2 (2018-07-02)
27
34
28
35
#### New
29
-
+ ngResizable: Provide `[rzAspectRatio]`, whether the element should be constrained to a specific aspect ratio.
30
-
+ ngResizable: Provide `[rzContainment]`, constrains resizing to within the bounds of the specified element or region.
36
+
+**ngResizable**: Provide `[rzAspectRatio]`, whether the element should be constrained to a specific aspect ratio.
37
+
+**ngResizable**: Provide `[rzContainment]`, constrains resizing to within the bounds of the specified element or region.
31
38
32
39
---
33
40
34
41
## 2.0.0-beta.1 (2018-06-26)
35
42
36
43
#### New
37
-
+ ngResizable: Provide `(rzStart)`, `(rzResizing)`, `(rzStop)` event emitters
38
-
+ ngResizable: Provide `resetSize()`, `getStatus()` methods
44
+
+**ngResizable**: Provide `(rzStart)`, `(rzResizing)`, `(rzStop)` event emitters
45
+
+**ngResizable**: Provide `resetSize()`, `getStatus()` methods
0 commit comments