Skip to content

Commit ed8c8c9

Browse files
author
Xie, Ziyu
committed
expose boundsCheck() method
1 parent 6b6fcb2 commit ed8c8c9

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Angular directive (for version >= 4.x ) that makes the DOM element draggable.
1919
angular2-draggable is an angular (ver >= 4.x) directive that makes the DOM element draggable. (Note that: It's different from drag-and-drop)
2020

2121
# Latest Update
22+
+ 2018.05.23: 1.4.2
23+
+ Changes: expose boundsCheck() method.
24+
2225
+ 2018.05.11: 1.4.1
2326
+ Bugfix: Handle Drag is not working in Firefox [#68](https://github.com/xieziyu/angular2-draggable/issues/68).
2427

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular2-draggable",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"description": "Angular directive that makes the DOM element draggable",
55
"repository": "https://github.com/xieziyu/angular2-draggable.git",
66
"author": "Xie, Ziyu <ziyu.xie@foxmail.com>",

lib/src/directive/angular-draggable.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export class AngularDraggableDirective implements OnInit, OnChanges {
223223
}
224224
}
225225

226-
private boundsCheck() {
226+
boundsCheck() {
227227
if (this.bounds) {
228228
let boundary = this.bounds.getBoundingClientRect();
229229
let elem = this.el.nativeElement.getBoundingClientRect();

src/assets/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.4.2 (2018-05-23)
2+
3+
#### Changes
4+
+ Expose boundsCheck() method.
5+
6+
---
7+
18
## 1.4.1 (2018-05-11)
29

310
#### Bugfix

0 commit comments

Comments
 (0)