From 8cf389287e51de4e671ad21639953cceb57ae377 Mon Sep 17 00:00:00 2001 From: Evgeny Volkov Date: Fri, 1 Apr 2016 23:48:38 +0300 Subject: [PATCH] update content.ts --- ionic/components/content/content.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ionic/components/content/content.ts b/ionic/components/content/content.ts index f6068b51d5..4def74491f 100644 --- a/ionic/components/content/content.ts +++ b/ionic/components/content/content.ts @@ -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(); * } * } * ```