Skip to main content

.scrollTrigger

.scrollTrigger : ScrollTrigger

The ScrollTrigger instance that ScrollSmoother created internally to manage the smooth scrolling effect of the page.

Details

The ScrollTrigger instance that ScrollSmoother created internally to manage the smooth scrolling effect of the page.

let smoother = ScrollSmoother.create({...});

let nativeScrollVelocity = smoother.scrollTrigger.getVelocity();

Contents