Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Utils/EventListeners

Index

Utils Classes

Functions

Functions

manageListener

  • manageListener(element: HTMLElement | Node | Window, event: string, handler: EventListenerOrEventListenerObject, add: boolean, options?: boolean | AddEventListenerOptions | EventListenerObject): void
  • Parameters

    • element: HTMLElement | Node | Window
    • event: string
    • handler: EventListenerOrEventListenerObject
    • add: boolean
    • Optional options: boolean | AddEventListenerOptions | EventListenerObject

    Returns void