Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

detectLastClicked

  • detectLastClicked(node: HTMLElement): boolean
  • Detect if a given unblocked node is the last clicked element so we can delegate the click event to the unblocking mechanism. This allows us e.g. autoplay for YouTube.

    Parameters

    • node: HTMLElement

    Returns boolean

Generated using TypeDoc