Skip to main content
Version: 4.1.0

Event

Index

Constructors

constructor

  • new Event(): Event
  • Returns Event

Properties

publicstaticreadonlyEVENT_NUMBER

EVENT_NUMBER: number = Event.EVENT_TYPES.length

publicstaticreadonlyEVENT_TYPES

EVENT_TYPES: EventType[] = ...

Methods

publicstaticgetEventNameFromType

  • getEventNameFromType(eventType: EventType): string
  • Parameters

    • eventType: EventType

    Returns string

publicstaticgetEventTypeFromName

  • getEventTypeFromName(eventName: string): EventType
  • Parameters

    • eventName: string

    Returns EventType

publicstaticisEventTypeValid

  • isEventTypeValid(eventType: EventType): boolean
  • Parameters

    • eventType: EventType

    Returns boolean