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

Push

Component

Represents the Kendo UI for Vue Push component. Accepts properties of type PushProps.

Definition

Package:@progress/kendo-vue-animation

Properties Interface:PushProps

Syntax:

vue
<Push :appear="show" :direction="'up'">
    <div>Your order #10248 has shipped.</div>
</Push>

Properties

appear?

boolean

Shows the content when you set it to true and hides it when you set it to false. When the value changes, the content animates in or out. Fade, Expand, Push, Reveal, Slide, and Zoom set it to false by default. Animation sets it to true by default.

After the element reaches its exit state, it is no longer in the DOM. If you need to access the element at that point, use the childFactory function.

Sets a CSS class on the parent element of the Animation.

Sets the node type of the parent element of the Animation. The parent element is a div by default.

componentChildClassName?

string | string[][]

Sets CSS classes on each animated child element.

Sets styles on each animated child element.

Sets the direction of the Push animation.

Default:

'right'

enter?

boolean

Animates the content when it appears (see example). When you set it to false, the content shows at once.

Default:

true

exit?

boolean

Animates the content when it disappears (see example). When you set it to false, the content hides at once. Fade sets it to false by default. The other Animation components set it to true by default.

id?

string

Sets the id of the Animation.

Mounts the content only when it enters for the first time.

Fires right before the enter animation starts.

Parameters:eventAnimationEventArguments

Fires when the enter animation ends.

Parameters:eventAnimationEventArguments

Fires when the enter animation starts.

Parameters:eventAnimationEventArguments

Fires right before the exit animation starts.

Parameters:eventAnimationEventArguments

Fires when the exit animation ends.

Parameters:eventAnimationEventArguments

Fires when the exit animation starts.

Parameters:eventAnimationEventArguments

Sets the styles of the parent element of the Animation.

tag?

string

Sets the HTML tag of the parent element of the Animation.

Sets the duration of the enter animation in milliseconds (see example). When the time runs out, the animation stops. Fade sets it to 500 by default. Expand, Push, Reveal, Slide, and Zoom set it to 300 by default.

Sets the duration of the exit animation in milliseconds (see example). When the time runs out, the animation stops. Fade sets it to 500 by default. Expand, Push, Reveal, Slide, and Zoom set it to 300 by default.

Unmounts the content after it reaches its exited state.