core/router/context-route.service.ts
Properties |
Methods |
constructor(tabsResolver: RouterTabsResolver, tabsService: TabsService, router: Router, apiService: ApiService, injector: Injector)
|
||||||||||||||||||
Parameters :
|
destroy |
destroy()
|
Returns :
void
|
getContextData | ||||||||
getContextData(activatedRoute: ActivatedRoute | ActivatedRouteSnapshot)
|
||||||||
Resolves the current context data. If no context was found, null is returned.
Parameters :
Returns :
| null
|
getContextRoute | ||||||
getContextRoute(contextData: ContextData)
|
||||||
Parameters :
Returns :
string
|
init | ||||||
init(route: ActivatedRoute)
|
||||||
Parameters :
Returns :
void
|
refreshContext |
refreshContext()
|
Returns :
void
|
setContext | ||||||||||||
setContext(activatedRoute: ActivatedRoute, contextData: IIdentified)
|
||||||||||||
Sets a new contextData in the ActivatedRoute.
Parameters :
Returns :
void
|
updatedContext | ||||||
updatedContext(route: ActivatedRoute)
|
||||||
Parameters :
Returns :
Observable<ApiCall>
|
activatedContextData |
Type : ContextData
|
Default value : null
|
Last context data snapshot |