APIs

Show:

api for FlexygoEvent

Constructor

flexygo.events.FlexygoEvent

() FlexygoEvent

Returns:

FlexygoEvent:

.

Methods

off

(
  • context
  • event
)

Method to unsubscribe to flexygo events

Parameters:

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:

unRegisterModule

(
  • module
)

Method to unregister a module to manage its events

Parameters:

  • module flexygo.ui.wc.FlxModule
    • Module