Class: Event

Event(sender, name, body)

The event used by subjects to inform the controller about what has happened.

Constructor

new Event(sender, name, body)

The constructor

Parameters:
Name Type Default Description
sender string

name of sender

name string

name of event

body object null

event data from sender

Source:

Methods

toString() → {string}

Make it print able.

Source:
Returns:
Type
string