core/router/router.module.ts
A C8Y router implementation. It implements some default routes needed as well as context routes. Context routes are useful, if you want to use context data on a certain view (e.g. a device), then this routes automatically resolve the associated managed object.
You can use this in combination of the Angular default RouterModule or use only this module. Context routes can only be added via the HOOK_ROUTES hook.
Static forRoot | |||||||||||||||
forRoot(routes: Routes, config?: ExtraOptions)
|
|||||||||||||||
Same interface as @angular/router module.
Sets
Parameters :
Returns :
ModuleWithProviders<RouterModule>
The module and providers. |