mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
docs(nav): fix typos
This commit is contained in:
@ -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> {
|
||||
|
Reference in New Issue
Block a user