mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
docs(navController): add docs for navOptions
This commit is contained in:
@ -139,6 +139,20 @@ import {ViewController} from './view-controller';
|
|||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
|
* ## NavOptions
|
||||||
|
*
|
||||||
|
* Some methods on `NavController` allow for customizing the current transition.
|
||||||
|
* To do this, we can pass an object with the modified properites.
|
||||||
|
*
|
||||||
|
* | Property | Value | Description |
|
||||||
|
* |-----------|-----------|------------------------------------------------------|
|
||||||
|
* | animate | `boolean` | Whether or not the transition should animate |
|
||||||
|
* | animation | `string` | What kind of animation should be used |
|
||||||
|
* | direction | `string` | The direction the page should animate |
|
||||||
|
* | duration | `number` | The length in milliseconds the animation should take |
|
||||||
|
* | easing | `string` | The easing for the animation |
|
||||||
|
*
|
||||||
|
*
|
||||||
* @see {@link /docs/v2/components#navigation Navigation Component Docs}
|
* @see {@link /docs/v2/components#navigation Navigation Component Docs}
|
||||||
*/
|
*/
|
||||||
export class NavController extends Ion {
|
export class NavController extends Ion {
|
||||||
|
Reference in New Issue
Block a user