From cc57a0a194e74c446ac7b0c6ffe84b8cfbec710c Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 12 Apr 2016 10:43:14 -0500 Subject: [PATCH] docs(nav): fix typos --- ionic/components/nav/nav-controller.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ionic/components/nav/nav-controller.ts b/ionic/components/nav/nav-controller.ts index 0f8684dd49..418c693ccb 100644 --- a/ionic/components/nav/nav-controller.ts +++ b/ionic/components/nav/nav-controller.ts @@ -267,7 +267,7 @@ export class NavController extends Ion { *``` * * @param {array} pages An arry of page components and their params to load in the stack. - * @param {object} [opts={}] Nav options you to go with this transition. + * @param {object} [opts={}] Nav options to go with this transition. * @returns {Promise} Returns a promise which is resolved when the transition has completed. */ setPages(pages: Array<{page: Type, params?: any}>, opts?: NavOptions): Promise { @@ -390,7 +390,7 @@ export class NavController extends Ion { * ``` * @param {Type} page The page component class you want to push on to the navigation stack * @param {object} [params={}] Any nav-params you want to pass along to the next view - * @param {object} [opts={}] Nav options you to go with this transition. + * @param {object} [opts={}] Nav options to go with this transition. * @returns {Promise} Returns a promise which is resolved when the transition has completed. */ push(page: Type, params?: any, opts?: NavOptions) { @@ -419,7 +419,7 @@ export class NavController extends Ion { * ``` * * @param {ViewController} enteringView The component you want to push on the navigation stack. - * @param {object} [opts={}] Nav options you to go with this transition. + * @param {object} [opts={}] Nav options to go with this transition. * @returns {Promise} Returns a promise which is resolved when the transition has completed. */ present(enteringView: ViewController, opts?: NavOptions): Promise { @@ -479,7 +479,7 @@ export class NavController extends Ion { * @param {number} insertIndex The index where to insert the page. * @param {Type} page The component you want to insert into the nav stack. * @param {object} [params={}] Any nav-params you want to pass along to the next page. - * @param {object} [opts={}] Nav options you to go with this transition. + * @param {object} [opts={}] Nav options to go with this transition. * @returns {Promise} Returns a promise which is resolved when the transition has completed. */ insert(insertIndex: number, page: Type, params?: any, opts?: NavOptions): Promise { @@ -511,7 +511,7 @@ export class NavController extends Ion { * * @param {number} insertIndex The index where you want to insert the page. * @param {array<{page: Type, params=: any}>} insertPages An array of objects, each with a `page` and optionally `params` property. - * @param {object} [opts={}] Nav options you to go with this transition. + * @param {object} [opts={}] Nav options to go with this transition. * @returns {Promise} Returns a promise which is resolved when the transition has completed. */ insertPages(insertIndex: number, insertPages: Array<{page: Type, params?: any}>, opts?: NavOptions): Promise { @@ -646,7 +646,7 @@ export class NavController extends Ion { * } * ``` * - * @param {object} [opts={}] Nav options you to go with this transition. + * @param {object} [opts={}] Nav options to go with this transition. * @returns {Promise} Returns a promise which is resolved when the transition has completed. */ pop(opts?: NavOptions): Promise { @@ -671,7 +671,7 @@ export class NavController extends Ion { /** * Similar to `pop()`, this method let's you navigate back to the root of * the stack, no matter how many pages back that is. - * @param {object} [opts={}] Nav options you to go with this transition. + * @param {object} [opts={}] Nav options to go with this transition. * @returns {Promise} Returns a promise which is resolved when the transition has completed. */ popToRoot(opts?: NavOptions): Promise { @@ -681,7 +681,7 @@ export class NavController extends Ion { /** * Pop to a specific view in the history stack. * @param {ViewController} view to pop to - * @param {object} [opts={}] Nav options you to go with this transition. + * @param {object} [opts={}] Nav options to go with this transition. * @returns {Promise} Returns a promise which is resolved when the transition has completed. */ popTo(view: ViewController, opts?: NavOptions): Promise {