Merge pull request #6017 from EvgenyVolkov/update_content.ts

docs(): update content.ts
This commit is contained in:
Adam Bradley
2016-04-06 23:40:31 -05:00

View File

@ -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();
* }
* }
* ```