Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/headless-content-unblocker/src/dom/initiators/jQueryEvent"

Index

Variables

Const OVERWRITE_PROPERTY

OVERWRITE_PROPERTY: "rcbJQueryEventListener" = "rcbJQueryEventListener"

Functions

applyJQueryEventInitiator

  • applyJQueryEventInitiator(doc: Document, element: any, eventName: string, __namedParameters?: { onBeforeExecute: (wereInTransaction: boolean) => void }): void
  • Overwrite jQuery(selector).on and jQuery.event.add for special events like elementor/frontend/init.

    Parameters

    • doc: Document
    • element: any
    • eventName: string
    • Default value __namedParameters: { onBeforeExecute: (wereInTransaction: boolean) => void } = {onBeforeExecute: undefined}
      • onBeforeExecute: (wereInTransaction: boolean) => void
          • (wereInTransaction: boolean): void
          • Parameters

            • wereInTransaction: boolean

            Returns void

    Returns void

Generated using TypeDoc