router/Events

Members

(inner, constant) AFTER_HANDLE_ROUTE :string

Source:
Router fire event $IMA.$Router.afterHandleRoute after page manager handle the route. Event's data contain {response: Object, params: Object, route: ima.router.Route, path: string, options: Object}}. The response is page render result. The path is current path, the params are params extracted from path, the route is handle route for path and the options is route additional options.
Type:
  • string

(inner, constant) BEFORE_HANDLE_ROUTE :string

Source:
Router fire event $IMA.$Router.beforeHandleRoute before page manager handle the route. Event's data contain { params: Object, route: ima.router.Route, path: string, options: Object}}. The path is current path, the params are params extracted from path, the route is handle route for path and the options is route additional options.
Type:
  • string

(inner, constant) Events :string

Source:
Events constants, which is firing to app.
Type:
  • string