Function: hasScrollbars

Returns true if the overflow CSS property of the given node is either scroll or auto.

  • Parameters

    • node: HTMLElement

      DOM node whose style should be checked for scrollbars.

    Returns boolean