@jossmac/lil-libs
    Preparing search index...

    Function atScrollLeft

    • Checks whether an element is at the left edge of its scroll range.

      Uses <= 0 rather than strict equality to account for elastic overscroll on iOS.

      • el: Element

        Scrollable element to inspect.

      true when the element is at the left edge of its scroll range.

      atScrollLeft(scrollable); // true when scrollLeft <= 0