mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
docs(): add missing property docs
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user