calls each of the listeners registered for a given event.
The event name.
Optional
Rest
arguments to be passed to all listeners
true if the event had listeners, false otherwise.
event.emit
me.event.emit("event-name", a, b, c); Copy
me.event.emit("event-name", a, b, c);
calls each of the listeners registered for a given event.