Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Event

Basic event class which holds event type and data properties and which should be extended by any custom event class.

author

Jānis Radiņš

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

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

Properties

data

data: any

Data shipped along with event notification, if any

type

type: string

Event string type

Methods

toString

  • toString(): string