W3cubDocs

/Web APIs

ScrollTimeline: source property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The source read-only property of the ScrollTimeline interface returns a reference to the scrollable element (scroller) whose scroll position is driving the progress of the timeline and therefore the animation.

Value

An Element.

Examples

See the main ScrollTimeline page for an example.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android WebView on iOS
source 115 115 No 101 26 115 No 77 26 23.0 115 26

See also

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ScrollTimeline/source