Files
michaelschiemer/resources/js/docs/SCROLL_LOOP.md

1.6 KiB
Raw Blame History

Attribut Typ Standardwert Beschreibung
data-scroll-loop Aktiviert das Scroll-Loop-Modul auf dem Element
data-scroll-speed float 0.2 Faktor für Scrollgeschwindigkeit positiv oder negativ
data-scroll-axis "x" | "y" "y" Achse der Bewegung
data-scroll-type "translate" | "rotate" | "background" | "scale" "translate" Art der Scrollanimation
data-loop-offset float 0 Start-Offset in Pixeln (nützlich für Desynchronisation mehrerer Elemente)
data-loop-limit number (Pixelwert) Obergrenze für Scrollbereich ab dieser Position stoppt die Animation
data-loop-pause "true" | "false" Bei "true" wird die Animation bei Hover oder aktivem Element pausiert