The EventList is a class that can be used to create a list of event listeners that can be invoked

Implements

  • IEventList

Constructors

Properties

isEventList: true = true

checked during instantiate to create a new instance

Accessors

  • get isInvoking(): boolean
  • If the event is currently being invoked

    Returns boolean

  • get listenerCount(): number
  • How many callback methods are subscribed to this event

    Returns number

Methods

  • Invoke all the methods that are subscribed to this event

    Parameters

    • Rest ...args: any

    Returns boolean

  • Returns void

  • Parameters

    Returns void

  • set an event target to try invoke the EventTarget dispatchEvent when this EventList is invoked

    Parameters

    • key: string
    • target: object

    Returns void

Generated using TypeDoc