Skip to main content

start

start : Number

[read-only] The ScrollTrigger's starting scroll position (numeric, in pixels).

Details

[read-only] The ScrollTrigger's starting scroll position (numeric, in pixels). This value gets calculated when the ScrollTrigger is refreshed, so anytime the window/scroller gets resized it'll be recalculated.

For example, if the trigger element is 100px below the bottom of the viewport (out of view), and the ScrollTrigger's vars had start: "top bottom", then the ScrollTrigger's calculated start property would be 100 (meaning it'd have to scroll 100px to hit the starting point).

The ScrollTrigger's start and end properties will always be numeric and reflect the scroll position in pixels.

Contents