• Checks whether the target element is visible. Both visibility and display style properties are checked.

    Parameters

    • element: HTMLElement
    • Optional includeParents: boolean

      Also check all parents for visibility. Default = true

    Returns boolean

    Whether the element is visible.

    Method

    isVisible