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

    Function hasScrollX

    • Checks whether an element has horizontal overflow.

      • el: Element

        Element to inspect.

      true when scrollWidth exceeds clientWidth.

      hasScrollX(el); // true when el.scrollWidth > el.clientWidth