mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
Merge pull request #6017 from EvgenyVolkov/update_content.ts
docs(): update content.ts
This commit is contained in:
@ -243,7 +243,7 @@ export class Content extends Ion {
|
||||
}
|
||||
|
||||
/**
|
||||
* Scroll to the specified position.
|
||||
* Scroll to the top of the content component.
|
||||
*
|
||||
* ```ts
|
||||
* @Page({
|
||||
@ -261,7 +261,7 @@ export class Content extends Ion {
|
||||
* this.content = this.app.getComponent('my-content');
|
||||
* }
|
||||
* scrollTop() {
|
||||
* this.content.scrollTop();
|
||||
* this.content.scrollToTop();
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
|
Reference in New Issue
Block a user