Options
All
  • Public
  • Public/Protected
  • All
Menu

Create an Event.

param type

The type of the event.

param data

Data for the event. Determined by event emitter

param time

Optional. The time the event occurred. If not specified, uses Date.now()

Hierarchy

  • Event

Index

Constructors

Properties

Constructors

constructor

  • new Event(type: string, data: any, time?: number): Event
  • Parameters

    • type: string
    • data: any
    • Optional time: number

    Returns Event

Properties

Readonly data

data: any

Readonly time

time: number

Readonly type

type: string

Generated using TypeDoc