Skip to content
Components/Visual effectsIntroduced in 1.3.0

EAnimateOnScroll Animate on scroll ​

import EUI 1.0

Examples ​

Scroll into view ​

QML sourceQML
Preview
Run the code to try the component

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

Code runs in this browser Licenses

Repeated entry ​

QML sourceQML
Preview
Run the code to try the component

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

Code runs in this browser Licenses

Once only ​

QML sourceQML
Preview
Run the code to try the component

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

Code runs in this browser Licenses

Custom viewport ​

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 in ​

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
contentalias

Content slot; declare QML child objects directly inside the component.

Defaultbody.data
oncebool

Play only the first viewport entry animation.

Defaultfalse
distancereal

Animation displacement in pixels.

Default24
durationint

Duration of each entry or exit animation in milliseconds.

Default300
targetItem

Item receiving the animation; defaults to the internal content container.

Defaultbody
viewportItem

Optional viewport; ancestor clipping boundaries still apply.

Defaultnull
enterEffectstring

EAnimation effect name used on viewport entry.

Default"fadeIn"
leaveEffectstring

EAnimation effect name used on viewport exit.

Default"fadeOut"
inViewportboolRead only

Whether the control intersects the visible viewport.

Defaultobserver.inViewport

Signals ​

SignaturePurpose
exited()

Emitted when the component leaves the viewport.

entered()

Emitted when the component enters the viewport.

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