New to KendoReactStart a free 30-day trial

Represents the props of the child Animation elements.

Definition

Package:@progress/kendo-react-animation

Properties

Inline styles that apply when the Animation has entered.

Example:
ts
<AnimationChild animationEnteredStyle={{ opacity: 1 }} />

Specifies the style that applies when the Animation reaches its entering state.

Example:
ts
<AnimationChild animationEnteringStyle={{ opacity: 0.5 }} />

Inline styles that apply when the Animation has exited.

Example:
ts
<AnimationChild animationExitedStyle={{ opacity: 0 }} />

Specifies the style that applies when the Animation reaches its exiting state.

Example:
ts
<AnimationChild animationExitingStyle={{ opacity: 0.5 }} />

appear?

boolean

Defines whether a transition should happen on the first mount.

Default:

false

Custom CSS class to apply to the Animation container.

Example:
ts
<AnimationChild className="custom-animation-class" />

Specifies the CSS class names that are set to each of the animated children elements.

Specifies the styles that are set to each of the animated children elements.

enter?

boolean

Specifies whether to animate the entering (showing) element (see example).

Default:

true

exit?

boolean

Specifies whether to animate a leaving (disappearing) element (see example).

Default:

true

in?

boolean

Controlled by TransitionGroup if present. Otherwise, sets the state of the enter or exit animations.

Specifies if the Animation uses lazy-mounting on the first in={true}.

Default:

false

Called when you add a component to an existing Animation component and the Animation has not started yet (more information and example).

Parameters:eventAnimationEventArguments

Called when you add a component to an existing Animation component and the Animation is now finished (more information and example).

Parameters:eventAnimationEventArguments

Called when you add a component to an existing Animation component and the Animation is now happening (more information and example).

Parameters:eventAnimationEventArguments

An event called after the Animation has reached its exit state (more information and example).

Parameters:eventAnimationEventArguments

An event called after the Animation has reached its exited state (more information and example).

Parameters:eventAnimationEventArguments

An event called after the Animation has reached its exiting state (more information and example).

Parameters:eventAnimationEventArguments

Custom inline styles to apply to the Animation container.

Example:
ts
<AnimationChild style={{ backgroundColor: "red" }} />

Specifies the duration of the transition for the entering (animation in) Animation (see example). After the time runs out, the Animation is terminated.

Default:

300

Specifies the duration of the transition for the exiting (animation out) Animation (see example). After the time runs out, the Animation is terminated.

Default:

300

Specifies the base class name for the transition. This class generates the appear, enter, and exit transition classes.

Example:
ts
<AnimationChild transitionName="fade" />

Specifies if the Animation unmounts after it reaches its exited state.

Default:

false

unstyled?

AnimationsClassStructure

Provides unstyled options for the Animation. Accepts an object that implements the AnimationsClassStructure interface.

Example:
ts
<AnimationChild unstyled={{ appear: "custom-appear-class" }} />