EVENTS_AGGREGATION_TYPES
Last updated
Was this helpful?
Constants are defined to represent different aggregation types for return value of eventsManager.fireEventListeners. The constants include:
RETURN_VALUE_BOOLEAN: fireEventListeners returns a logical and between all the listeners return values.
RETURN_VALUE_ARRAY: fireEventListeners returns an array with all the listeners return values.
Constant for eventsManager fireEventListeners, with this ENUM the fireEventListeners will return a boolean which is a logical and between all the listeners return values.
Constant for eventsManager fireEventListeners. with this ENUM the fireEventListeners will return an array with all the listeners return values.
Type enum
Sample
var myarray = eventsManager.fireEventListeners('customEvent',null,null,EVENTS_AGGREGATION_TYPE.RETURN_VALUE_ARRAY);Constant for eventsManager fireEventListeners, with this ENUM the fireEventListeners will return a boolean which is a logical and between all the listeners return values.
Type enum
Sample
Last updated
Was this helpful?
Was this helpful?
var myboolean = eventsManager.fireEventListeners('customEvent',null,null,EVENTS_AGGREGATION_TYPE.RETURN_VALUE_BOOLEAN);