Settings
Contao ContentElement settings:
The js_aos template must be included in the page layout.
Customizable attributes:
- data-aos: Defines the type of animation. (
fade
, slide-up
, zoom-in
, etc.)
- data-aos-duration: Defines the duration of the animation in milliseconds.
- data-aos-delay: Delays the start of the animation by the specified time in milliseconds.
- data-aos-offset: Determines the offset height in pixels from which the animation is triggered.
- data-aos-easing: Defines the acceleration curve of the animation.
- data-aos-anchor: Defines the anchor element at which the animation is triggered.
- data-aos-anchor-placement: Determines at which point of the anchor element the animation is triggered.
- data-aos-once: Determines whether the animation is triggered only once or with every scroll.
- data-aos-mirror:Also triggers the animation again when scrolling back.
- data-aos-id: Assigns a unique ID to the animation in order to address it specifically.