Module system.events.MetaEvents
Functions
listenMultiple (handlerName, eventTypeNames, func) | Installs a meta-event listener for multiple event types. |
listenPrefixed (handlerName, eventTypePrefix, func) | Installs a meta-event listener for any event type starting with the specified prefix. |
Functions
- listenMultiple (handlerName, eventTypeNames, func)
-
Installs a meta-event listener for multiple event types. It will only be fired once, even if multiple events are
changed at the same time. Its invocation is guaranteed to happen after all event updates have been performed.
Parameters:
- handlerName
- eventTypeNames
- func
- listenPrefixed (handlerName, eventTypePrefix, func)
-
Installs a meta-event listener for any event type starting with the specified prefix. It will only be fired once,
even if multiple events are changed at the same time. Its invocation is guaranteed to happen after all event updates
have been performed.
Parameters:
- handlerName
- eventTypePrefix
- func