docs(nav): fix typos

This commit is contained in:
Adam Bradley
2016-04-12 10:43:14 -05:00
parent 5e65b21486
commit cc57a0a194

View File

@ -267,7 +267,7 @@ export class NavController extends Ion {
*```
*
* @param {array<Type>} 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<any> {
@ -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<any> {
@ -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<any> {
@ -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<any> {
@ -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<any> {
@ -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<any> {
@ -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<any> {