Constants
- BEFORE_HANDLE_ROUTE :
string
Router fire event
$IMA.$Router.beforeHandleRoute
before page manager handle the route. Event's data contain{ params: Object<string, string>
, route: ima.core.router.AbstractRoute, path: string, options: Object<string, *>}}. Thepath
is current path, theparams
are params extracted from path, theroute
is handle route for path and theoptions
is route additional options.- AFTER_HANDLE_ROUTE :
string
Router fire event
$IMA.$Router.afterHandleRoute
after page manager handle the route. Event's data contain{response: Object<string, *>, params: Object<string, string>
, route: ima.core.router.AbstractRoute, path: string, options: Object<string, *>}}. Theresponse
is page render result. Thepath
is current path, theparams
are params extracted from path, theroute
is handle route for path and theoptions
is route additional options.
Events : enum
Events constants, which is firing to app.
Kind: global enum
BEFORE_HANDLE_ROUTE : string
Router fire event $IMA.$Router.beforeHandleRoute
before page
manager handle the route. Event’s data contain
{ params: Object<string, string>
, route: ima.core.router.AbstractRoute,
path: string, options: Object<string, *>}}. 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.
Kind: global constant
AFTER_HANDLE_ROUTE : string
Router fire event $IMA.$Router.afterHandleRoute
after page
manager handle the route. Event’s data contain
{response: Object<string, *>, params: Object<string, string>
,
route: ima.core.router.AbstractRoute, path: string, options: Object<string, *>}}.
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.
Kind: global constant