Zoom
Represents the Kendo UI for Vue Zoom component. Accepts properties of type ZoomProps.
Definition
Package:@progress/kendo-vue-animation
Properties Interface:ZoomProps
Syntax:
<Zoom :appear="show" :direction="'in'">
<div>Your order #10248 has shipped.</div>
</Zoom>
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.
className?
string
Sets a CSS class on the parent element of the Animation.
component?
string
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.
direction?
string
Sets the direction of the Zoom animation.
'out'
enter?
boolean
Animates the content when it appears (see example).
When you set it to false, the content shows at once.
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.
mountOnEnter?
boolean
Mounts the content only when it enters for the first time.
onEnter?
(event: AnimationEventArguments) => void
Fires right before the enter animation starts.
onEntered?
(event: AnimationEventArguments) => void
Fires when the enter animation ends.
onEntering?
(event: AnimationEventArguments) => void
Fires when the enter animation starts.
onExit?
(event: AnimationEventArguments) => void
Fires right before the exit animation starts.
onExited?
(event: AnimationEventArguments) => void
Fires when the exit animation ends.
onExiting?
(event: AnimationEventArguments) => void
Fires when the exit animation starts.
style?
any
Sets the styles of the parent element of the Animation.
tag?
string
Sets the HTML tag of the parent element of the Animation.
transitionEnterDuration?
number
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.
transitionExitDuration?
number
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.
unmountOnExit?
boolean
Unmounts the content after it reaches its exited state.