Event

Class: Event

Constructor

new Event(target, name, data)

Creates an homogenous object for tracking events so users can know what to expect.

Parameters
Name Type Description
target Object

The target object that the event is called on

name String

The string name of the event that was triggered

data Object

Arbitrary ev