docs(): add missing property docs

This commit is contained in:
mhartington
2018-06-18 15:23:26 -04:00
parent 79ebbd0cba
commit 503636ada8
8 changed files with 33 additions and 27 deletions

View File

@ -80,6 +80,9 @@ export class Content {
return this.scrollEl.scrollToBottom(duration);
}
/**
* Scroll by a specific X/Y distance
*/
@Method()
scrollByPoint(x: number, y: number, duration: number, done?: Function): Promise<any> {
if (!this.scrollEl) {
@ -88,6 +91,9 @@ export class Content {
return this.scrollEl.scrollByPoint(x, y, duration, done);
}
/**
* Scroll to a specific X/Y coordinate in the content
*/
@Method()
scrollToPoint(x: number, y: number, duration: number, done?: Function): Promise<any> {
if (!this.scrollEl) {