flexygo.events.FlexygoEvent Class
api for FlexygoEvent
Constructor
flexygo.events.FlexygoEvent
()
FlexygoEvent
Returns:
FlexygoEvent:
.
Item Index
Methods
Methods
off
(
-
context
-
event
Method to unsubscribe to flexygo events
Parameters:
-
context
Object- The subscriber
-
event
flexygo.events.FlexygoEvent
on
(
-
context
-
eventDefinition
-
callback
Method to subscribe to flexygo events
Parameters:
-
context
Object- The subscriber
-
eventDefinition
flexygo.events.FlexygoEvent- The FlexygoEvent to subscribe to in form of class.type (Example: entity.all)
-
callback
Object- Callback function to be called
registerModule
(
-
module
Method to register a module to manage its events
Parameters:
-
module
flexygo.ui.wc.FlxModule- Module
trigger
(
-
event
Method to trigger a flexygo event
Parameters:
-
event
flexygo.events.FlexygoEvent- Event to be triggered
unRegisterModule
(
-
module
Method to unregister a module to manage its events
Parameters:
-
module
flexygo.ui.wc.FlxModule- Module