AnimationInterface
Inherited by all Animations. Represents the properties which can be set to an Animation.
Name | Type | Default | Description |
---|---|---|---|
appear? |
| Defines whether a transition should happen on the first mount. Defaults to | |
componentChildClassName? |
| Specifies the CSS class names which are set to each of the animated children elements. | |
componentChildStyle? |
| Specifies the styles which are set to each of the animated children elements. | |
enter? |
| Specifies whether to animate the entering (showing) element (see example). Defaults to | |
exit? |
| Specifies whether to animate a leaving (disappearing) element (see example). Defaults to | |
mountOnEnter? |
| Specifies if the Animation will use lazy-mounting on the first | |
transitionEnterDuration? |
| Specifies the duration of the transition for the entering ( | |
transitionExitDuration? |
| Specifies the duration of the transition for the exiting ( | |
unmountOnExit? |
| Specifies if the Animation will unmount after it reaches its exited state. Defaults to |
Methods
onEnter | ||||||
---|---|---|---|---|---|---|
Called when a component is added to an existing Animation component and the Animation has not started yet (more information and example). | ||||||
|
onEntered | ||||||
---|---|---|---|---|---|---|
Called when a component is added to an existing Animation component and the Animation is now finished (more information and example). | ||||||
|
onEntering | ||||||
---|---|---|---|---|---|---|
Called when a component is added to an existing Animation component and the Animation is now happening (more information and example). | ||||||
|
onExit | ||||||
---|---|---|---|---|---|---|
An event that is called after the Animation has reached its exit state (more information and example). | ||||||
|
onExited | ||||||
---|---|---|---|---|---|---|
An event that is called after the Animation has reached its exited state (more information and example). | ||||||
|
onExiting | ||||||
---|---|---|---|---|---|---|
An event that is called after the Animation has reached its exiting state (more information and example). | ||||||
|