Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HasEventTargetAddRemove<K, E>

Type parameters

  • K: keyof WindowEventMap

  • E

Hierarchy

  • HasEventTargetAddRemove

Index

Methods

addEventListener

  • addEventListener(type: K, listener: function | null, options?: boolean | AddEventListenerOptions): void
  • Parameters

    • type: K
    • listener: function | null
    • Optional options: boolean | AddEventListenerOptions

    Returns void

removeEventListener

  • removeEventListener(type: K, listener?: function | null, options?: EventListenerOptions | boolean): void
  • Parameters

    • type: K
    • Optional listener: function | null
    • Optional options: EventListenerOptions | boolean

    Returns void

Generated using TypeDoc