Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/headless-content-unblocker/src/utils/previousVisibleElement"

Index

Functions

getPreviousVisibleElement

  • getPreviousVisibleElement(node: HTMLElement, rateAsVisible?: (node: HTMLElement) => boolean): HTMLElement
  • Parameters

    • node: HTMLElement
    • Optional rateAsVisible: (node: HTMLElement) => boolean
        • (node: HTMLElement): boolean
        • Parameters

          • node: HTMLElement

          Returns boolean

    Returns HTMLElement

Generated using TypeDoc