Saltar al contenido principal

world.events

Properties

PropertyDescription
globalIdUsed to dispatch/listen for events globally.

Functions

FunctionDescription
addListenerregisters a component to listen to an event.
dispatchemit events that the listeners can listen to.
removeListenerun-registers an existing listener.