Hierarchy

  • EventHandler

Constructors

Methods

  • Adds event callbacks to array

    Parameters

    • callback: EventCallbackFunction

      callback to be invoked when an event is raised

    • Optional eventTypes: EventType[]

      list of events that this callback will be invoked for, if not provided callback will be invoked for all events

    • Optional callbackId: string

      Identifier for the callback, used to locate and remove the callback when no longer required

    Returns null | string

Generated using TypeDoc