Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/headless-content-unblocker/src/events/optInContentBlocker"

Index

Type aliases

OptInContentBlockerEvent

OptInContentBlockerEvent<ExtendedBlockerDefinition>: { blocker: ExtendedBlockerDefinition; element?: HTMLElement; gotClicked: boolean }

Type parameters

Type declaration

  • blocker: ExtendedBlockerDefinition
  • Optional element?: HTMLElement

    This detail is only filled if you listen to the document event.

  • gotClicked: boolean

    If true, this element got unblocked due to the last click on the "Unblock" button. This is useful e.g. to delegate the click event further and start a video.

Variables

Const OPT_IN_CONTENT_BLOCKER

OPT_IN_CONTENT_BLOCKER: "RCB/OptIn/ContentBlocker" = "RCB/OptIn/ContentBlocker"

A content - which was blocked - got unblocked.

Generated using TypeDoc