docs(nav,route-outlet): use animation builder (#25451)

This commit is contained in:
Sean Perkins
2022-06-13 10:29:29 -04:00
committed by GitHub
parent a8fb570c3c
commit afadf1940b
3 changed files with 6 additions and 6 deletions

View File

@ -1619,7 +1619,7 @@ export namespace Components {
*/ */
"animated": boolean; "animated": boolean;
/** /**
* By default `ion-nav` animates transition between pages based in the mode (ios or material design). However, this property allows to create custom transition using `AnimateBuilder` functions. * By default `ion-nav` animates transition between pages based in the mode (ios or material design). However, this property allows to create custom transition using `AnimationBuilder` functions.
*/ */
"animation"?: AnimationBuilder; "animation"?: AnimationBuilder;
/** /**
@ -2280,7 +2280,7 @@ export namespace Components {
*/ */
"animated": boolean; "animated": boolean;
/** /**
* This property allows to create custom transition using AnimateBuilder functions. * This property allows to create custom transition using AnimationBuilder functions.
*/ */
"animation"?: AnimationBuilder; "animation"?: AnimationBuilder;
"commit": (enteringEl: HTMLElement, leavingEl: HTMLElement | undefined, opts?: RouterOutletOptions | undefined) => Promise<boolean>; "commit": (enteringEl: HTMLElement, leavingEl: HTMLElement | undefined, opts?: RouterOutletOptions | undefined) => Promise<boolean>;
@ -5547,7 +5547,7 @@ declare namespace LocalJSX {
*/ */
"animated"?: boolean; "animated"?: boolean;
/** /**
* By default `ion-nav` animates transition between pages based in the mode (ios or material design). However, this property allows to create custom transition using `AnimateBuilder` functions. * By default `ion-nav` animates transition between pages based in the mode (ios or material design). However, this property allows to create custom transition using `AnimationBuilder` functions.
*/ */
"animation"?: AnimationBuilder; "animation"?: AnimationBuilder;
"delegate"?: FrameworkDelegate; "delegate"?: FrameworkDelegate;
@ -6164,7 +6164,7 @@ declare namespace LocalJSX {
*/ */
"animated"?: boolean; "animated"?: boolean;
/** /**
* This property allows to create custom transition using AnimateBuilder functions. * This property allows to create custom transition using AnimationBuilder functions.
*/ */
"animation"?: AnimationBuilder; "animation"?: AnimationBuilder;
"delegate"?: FrameworkDelegate; "delegate"?: FrameworkDelegate;

View File

@ -67,7 +67,7 @@ export class Nav implements NavOutlet {
/** /**
* By default `ion-nav` animates transition between pages based in the mode (ios or material design). * By default `ion-nav` animates transition between pages based in the mode (ios or material design).
* However, this property allows to create custom transition using `AnimateBuilder` functions. * However, this property allows to create custom transition using `AnimationBuilder` functions.
*/ */
@Prop() animation?: AnimationBuilder; @Prop() animation?: AnimationBuilder;

View File

@ -51,7 +51,7 @@ export class RouterOutlet implements ComponentInterface, NavOutlet {
*/ */
@Prop() animated = true; @Prop() animated = true;
/** This property allows to create custom transition using AnimateBuilder functions. */ /** This property allows to create custom transition using AnimationBuilder functions. */
@Prop() animation?: AnimationBuilder; @Prop() animation?: AnimationBuilder;
/** @internal */ /** @internal */