Event

constructor(type: String)

Creates an Event with the given type.

Parameters

type

an Event type string, typically one of the EventType constants