Skip to content

Commit

Permalink
Release v2.1.8
Browse files Browse the repository at this point in the history
add [preventDefaultEvent] flag to ngResizable mousedown
  • Loading branch information
Xie, Ziyu committed Nov 11, 2018
1 parent 8fe40aa commit a3b327c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion projects/angular2-draggable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular2-draggable",
"version": "2.1.7",
"version": "2.1.8",
"author": "Xie, Ziyu",
"license": "MIT",
"keywords": [
Expand Down
7 changes: 7 additions & 0 deletions src/assets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a3b327c

Please sign in to comment.