files/en-us/web/api/scrolltimeline/axis/index.md
{{APIRef("Web Animations")}}
The axis read-only property of the
{{domxref("ScrollTimeline")}} interface returns an enumerated value representing the scroll axis that is driving the progress of the timeline.
An enumerated value. Possible values are:
"block"
"y", while for vertical writing modes, it is the same as "x"."inline"
"x", while for vertical writing modes, this is the same as "y"."y"
"x"
See the main {{domxref("ScrollTimeline")}} page for an example.
{{Specifications}}
{{Compat}}