mixinafReflux::RefluxEvents
afReflux::RefluxEvents
@Js
(Events) - Events raised by Reflux.
To handle these events, just implement this mixin and override the methods you want! You also need to registry yourself with the EventHub. You can do this in the ctor:
class MyService : RefluxEvents {
    new make(EventHub eventHub) {
        eventHub.register(this)
    }
    override Void onLoad(Resource resource) { ... }
}
Note that instances of Panels, Views and GlobalCommands are automatically added to EventHub by default.
- onError
- onLoad
- onLoadSession
- onPanelActivated
- onPanelDeactivated
- onPanelHidden
- onPanelModified
- onPanelShown
- onRefresh
- onSaveSession
- onViewActivated
- onViewDeactivated
- onViewHidden
- onViewModified
- onViewShown