update content.ts

This commit is contained in:
Evgeny Volkov
2016-04-01 23:48:38 +03:00
parent 6125e1c622
commit 8cf389287e

View File

@@ -247,7 +247,7 @@ export class Content extends Ion {
}
/**
* Scroll to the specified position.
* Scroll to the top of the content component.
*
* ```ts
* @Page({
@@ -265,7 +265,7 @@ export class Content extends Ion {
* this.content = this.app.getComponent('my-content');
* }
* scrollTop() {
* this.content.scrollTop();
* this.content.scrollToTop();
* }
* }
* ```