Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/headless-content-unblocker/src/visual/findPreviousVisibleDuplicate"

Index

Functions

findPreviousVisibleDuplicate

  • findPreviousVisibleDuplicate(createBefore: HTMLElement, node: HTMLElement, blockerId: number): false | HTMLElement
  • Find a duplicate before a given node to avoid duplicate content blockers for the same content.

    Parameters

    • createBefore: HTMLElement
    • node: HTMLElement
    • blockerId: number

    Returns false | HTMLElement

isHtmlNodeContentBlocker

  • isHtmlNodeContentBlocker(node: HTMLElement): boolean
  • Parameters

    • node: HTMLElement

    Returns boolean

mapIgnoreInvisibleAndUsePreviousVisible

  • mapIgnoreInvisibleAndUsePreviousVisible(element: HTMLElement): HTMLElement
  • Parameters

    • element: HTMLElement

    Returns HTMLElement

Generated using TypeDoc