SubscribeAll
Subscribes to an event callback for all the instances of a given type
Note: Some events do not support multiple subscription. See more in component.
Function
void SubscribeAll(event: string, componentTypeName: string, callbackFunction: object);
Parameters
| Name | Type | Description |
|---|---|---|
| event | String | The name of the event to subscribe to |
| componentTypeName | String | The type name of the components that will invoke the events |
| callbackFunction | Object | The callback function (can be a string or function name) |
Return Value
None