RouterModule
@agros/common / RouterModule
Class: RouterModule
Table of contents
Constructors
Methods
Constructors
constructor
• new RouterModule()
Methods
createRouterItems
▸ Static createRouterItems(context, routes?, prefixPathname?): Promise<RouterItem[]>
Parameters
| Name | Type | Default value |
|---|---|---|
context | Factory | undefined |
routes | RouteOptionItem<any>[] | [] |
prefixPathname | string | '' |
Returns
Promise<RouterItem[]>
Defined in
agros-common/src/modules/router.module.ts:58
register
▸ Static register(__namedParameters): DynamicModule<any>
Parameters
| Name | Type |
|---|---|
__namedParameters | RouterModuleOptions |
Returns
DynamicModule<any>
Defined in
agros-common/src/modules/router.module.ts:24
registerAsync
▸ Static registerAsync(__namedParameters): DynamicModule<any>
Parameters
| Name | Type |
|---|---|
__namedParameters | RouterModuleAsyncOptions |
Returns
DynamicModule<any>