From a3b327c462eece33d6a23169ef4b8b7748fee7df Mon Sep 17 00:00:00 2001 From: "Xie, Ziyu" Date: Sun, 11 Nov 2018 20:36:43 +0800 Subject: [PATCH] Release v2.1.8 add [preventDefaultEvent] flag to ngResizable mousedown --- README.md | 4 ++++ projects/angular2-draggable/package.json | 2 +- src/assets/CHANGELOG.md | 7 +++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66abe03..463e42c 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ angular2-draggable has angular directives that make the DOM element draggable an + provided since v2.0, requires Angular >= 6 # Latest Update ++ 2018.11.11: 2.1.8 + + **ngResizable**: add [preventDefaultEvent] flag to ngResizable mousedown ([by mecp](https://github.com/mecp) - [PR #119](https://github.com/xieziyu/angular2-draggable/pull/119)) + + 2018.10.31: 2.1.7 + **ngResizable**: fix [issue #116](https://github.com/xieziyu/angular2-draggable/issues/116): ngResizable Locks Height When rzHandles Includes Only e, w. (Thanks to [Yamazaki93](https://github.com/Yamazaki93)) @@ -147,6 +150,7 @@ Well you can use both directives concurrently if you wish: | rzMaxWidth | number | 1 | The maximum width the resizable should be allowed to resize to. | | rzMinHeight | number | 1 | The minimum height the resizable should be allowed to resize to. | | rzMaxHeight | number | 1 | The maximum height the resizable should be allowed to resize to. | + | preventDefaultEvent | boolean | `false` | Whether to prevent default mouse event. | ## CSS: + When `ngDraggable` is enabled on some element, `ng-draggable` class is automatically assigned to it. You can use it to customize the pointer style. For example: diff --git a/projects/angular2-draggable/package.json b/projects/angular2-draggable/package.json index 7b25d61..a9148f3 100644 --- a/projects/angular2-draggable/package.json +++ b/projects/angular2-draggable/package.json @@ -1,6 +1,6 @@ { "name": "angular2-draggable", - "version": "2.1.7", + "version": "2.1.8", "author": "Xie, Ziyu", "license": "MIT", "keywords": [ diff --git a/src/assets/CHANGELOG.md b/src/assets/CHANGELOG.md index e028130..1a036ea 100644 --- a/src/assets/CHANGELOG.md +++ b/src/assets/CHANGELOG.md @@ -1,3 +1,10 @@ +## 2.1.8 (2018-11-11) + +#### New ++ **ngResizable**: add [preventDefaultEvent] flag to ngResizable mousedown ([by mecp](https://github.com/mecp) - [PR #119](https://github.com/xieziyu/angular2-draggable/pull/119)) + +--- + ## 2.1.7 (2018-10-31) #### Bugfix