Function removePageUnloadEventListener

  • Remove any matching 'beforeunload', 'unload' and 'pagehide' events that may have been added via addEventListener, addEventListeners, addPageUnloadEventListener or addPageHideEventListener.

    Parameters

    • listener: any

      The specific event callback to to be removed

    • Optional evtNamespace: string | string[]

      [Optional] Namespace(s) uniquely identified and removed based on this namespace.

    Returns void

    true - when at least one of the events was registered otherwise false

Generated using TypeDoc