Back to Content

ViewTimeline: endOffset property

files/en-us/web/api/viewtimeline/endoffset/index.md

latest768 B
Original Source

{{APIRef("Web Animations")}}

The endOffset read-only property of the {{domxref("ViewTimeline")}} interface returns a {{domxref("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.

Value

A {{domxref("CSSNumericValue")}}.

Examples

See the main {{domxref("ScrollTimeline")}} page for an example.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also