xieziyu / angular2-draggable

Angular directive (for version >= 2.x ) that makes the DOM element draggable and resizable
https://xieziyu.github.io/angular2-draggable/
293 stars 103 forks source link

Documentation Incorrect #78

Open Jenkintr opened 6 years ago

Jenkintr commented 6 years ago

The Online documentation provided for the angular2-draggable directive lists the method boundsCheck() as a public method, however while trying to use that method, VSCode lists it as a private method available to only to the draggable directive. bounds check

xieziyu commented 6 years ago

@Jenkintr It looks like a bug of VSCode, as the boundsCheck() is a public method of AngularDraggableDirective:

https://github.com/xieziyu/angular2-draggable/blob/master/projects/angular2-draggable/src/lib/angular-draggable.directive.ts