This feature is not Baseline because it does not work in some of the most widely-used browsers.
The endOffset read-only property of the ViewTimeline interface returns a CSSNumericValue representing the ending (100% progress) scroll position of the timeline as an offset from the start of the overflowing section of content in the scroller.
See the main ScrollTimeline page for an example.
| Specification |
|---|
| Scroll-driven Animations> # dom-viewtimeline-endoffset> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
endOffset |
115 | 115 | No | 101 | 26 | 115 | No | 77 | 26 | 23.0 | 115 | 26 |
© 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/ViewTimeline/endOffset