@blinkk/degu
    Preparing search index...

    Function isDisplayNoneWithAncestors

    • Tests whether a given element and it's ancestors have a display:none. This is useful to see if a given element is on the screen (based on whether if the element or it's ancestors have display none.)

      const elementIsVisibleOnScreen = !dom.isDisplayNoneWithAncestors(element);
      

      Parameters

      • el: Element

      Returns boolean