New to Kendo UI for Vue? Start a free 30-day trial

SlideProps

Represent the props of the KendoVue Slide Animation component.

NameTypeDefaultDescription

appear?

boolean

Defines whether a transition should happen on the first mount. Defaults to false.

childFactory?

any

After the element reaches its exit state, it is no longer available in the DOM. If a DOM operation is required, access it trough the childFactory function.

className?

string | string[]

Specifies the CSS class names which are set to the Animation.

component?

string

Specifies the tag.

componentChildClassName?

undefined[]

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

componentChildStyle?

any

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

direction?

string

Specifies the direction of the Slide Animation. Defaults to down.

enter?

boolean

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

exit?

boolean

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

id?

string

Specifies the id of the Animation.

mountOnEnter?

boolean

Specifies if the Animation will use lazy-mounting on the first in={true}. Defaults to false.

style?

any

Specifies the style of the parent Animation.

tag?

string

Specifies the node type of the parent Animation. Defaults to div.

transitionEnterDuration?

number

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

transitionExitDuration?

number

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

unmountOnExit?

boolean

Specifies if the Animation will unmount after it reaches its exited state. Defaults to false.

Methods

onEnter

Called when a component is added to an existing Animation component and the Animation has not started yet .

Parameters

event

AnimationEventArguments

onEntered

Called when a component is added to an existing Animation component and the Animation is now finished.

Parameters

event

AnimationEventArguments

onEntering

Called when a component is added to an existing Animation component and the Animation is now happening.

Parameters

event

AnimationEventArguments

onExit

An event that is called after the Animation has reached its exit state.

Parameters

event

AnimationEventArguments

onExited

An event that is called after the Animation has reached its exited state.

Parameters

event

AnimationEventArguments

onExiting

An event that is called after the Animation has reached its exiting state.

Parameters

event

AnimationEventArguments