The horizontal scroll position of an element as distance from the start (≥ 0): in left-to-right scrollLeft, in right-to-left -scrollLeft (browsers report 0 at the right start and negative values when scrolled to the left, CSSOM View).
scrollLeft
-scrollLeft
a scroll container
the container is right-to-left
px from the start
const fromStart = getLogicalScrollLeft(tableApi.getTableScope().scrollViewport, tableApi.getDirection() === "rtl"); Copy
const fromStart = getLogicalScrollLeft(tableApi.getTableScope().scrollViewport, tableApi.getDirection() === "rtl");
1.1.98
The horizontal scroll position of an element as distance from the start (≥ 0): in left-to-right
scrollLeft, in right-to-left-scrollLeft(browsers report 0 at the right start and negative values when scrolled to the left, CSSOM View).