Options
All
  • Public
  • Public/Protected
  • All
Menu

Minimum requirements that the object needs to have so that it can bind to the events instead of function this is "addEventListener" and "removeEventListener" - see {@link isListenerObject}

Hierarchy

  • TargetWithEvents

Index

Properties

__ot_listeners?: {}

Type declaration

  • [name: string]: WeakMap<Func<void>, Func<void>>

Methods

  • addEventListener(event: string, listener: ((...args: unknown[]) => void), opts?: { once: boolean }): unknown
  • removeEventListener(event: string, listener: ((...args: unknown[]) => void), opts?: { once: boolean }): unknown

Generated using TypeDoc