Skip to content

EAnimation Animation ​

import EUI 1.0

Examples ​

Choose an effect, call it in one line ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Preview shake feedback ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Click to preview a pulse ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Fade in and out ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Slide within a layout ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Properties ​

PropertyDescriptionValues and default
effectsQStringListRead only

Effect names accepted by play(target, effect, options); stop(target) stops and restores the target.

Default
Show default value
83 presets: fade, slide, scale and zoom, rotate and roll, bounce, flip, attention and feedback, and light speed. Read EAnimation.effects for all names.

Methods ​

SignaturePurpose
stop(target)

Stop animations started by EAnimation on target and restore its previous appearance; return whether an animation was stopped.

play(target, effect, options)

Play effect on target using options such as duration and delay; return whether the animation starts successfully.

Released under the MIT License. Third-party assets retain their own licenses.