(
stateChangeExpr:
| string
| ((
fromState: string,
toState: string,
element?: any,
params?: {[key: string]: any},
) => boolean),
steps: AnimationMetadata | AnimationMetadata[],
options: AnimationOptions | null = null,
)
| 1090 | * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23 |
| 1091 | **/ |
| 1092 | export function transition( |
| 1093 | stateChangeExpr: |
| 1094 | | string |
| 1095 | | (( |
| 1096 | fromState: string, |
| 1097 | toState: string, |
| 1098 | element?: any, |
| 1099 | params?: {[key: string]: any}, |
| 1100 | ) => boolean), |
| 1101 | steps: AnimationMetadata | AnimationMetadata[], |
| 1102 | options: AnimationOptions | null = null, |
| 1103 | ): AnimationTransitionMetadata { |
| 1104 | return {type: AnimationMetadataType.Transition, expr: stateChangeExpr, animation: steps, options}; |
| 1105 | } |
| 1106 | |
| 1107 | /** |
| 1108 | * Produces a reusable animation that can be invoked in another animation or sequence, |
no outgoing calls
no test coverage detected
searching dependent graphs…