Hierarchy

Constructors

Accessors

Methods

  • Invokes each listener registered for the specified event type.

    Parameters

    • eventName: string

      The type of the event.

    • eventArgs: EventArgs

    Returns void

  • Gets an array of listeners for a specific event type.

    Parameters

    • eventName: string

      eventName The type of the event.

    Returns ((event: EventArgs) => void)[]

  • Registers an event listener on the specified static event.

    Parameters

    • eventName: string

      The type of the event.

    • listener: ((event: EventArgs) => void)

      The event handler function.

    Returns void

  • Gets an array of listeners for a specific static event type.

    Parameters

    • eventName: string

      eventName The type of the event.

    Returns ((event: EventArgs) => void)[]

  • Removes a previous registered event listener from the specified static event.

    Parameters

    • eventName: string

      The type of the event.

    • listener: ((event: EventArgs) => void)

      The event handler function.

    Returns void