Checks whether an element is at the right edge of its scroll range.
Uses >= rather than strict equality to account for elastic overscroll on iOS.
>=
Scrollable element to inspect.
true when the element is at the right edge of its scroll range.
true
atScrollRight(scrollable); // true when scrolled to the right edge Copy
atScrollRight(scrollable); // true when scrolled to the right edge
Checks whether an element is at the right edge of its scroll range.
Uses
>=rather than strict equality to account for elastic overscroll on iOS.