core/router/scoped-context-route.service.ts
A service which is injected into the context route component to handle the context data.
Methods |
constructor(tabsResolver: RouterTabsResolver, tabsService: TabsService, router: Router, apiService: ApiService, injector: Injector, destroyRef: DestroyRef)
|
|||||||||||||||||||||
Parameters :
|
init | ||||||||
init(route: ActivatedRoute)
|
||||||||
Initializes the context route.
Parameters :
Returns :
void
|
isLoading$ |
isLoading$()
|
Indicates that the data is loading
Returns :
Observable<boolean>
An boolean observable which indicates if the data is loading. |
ngOnDestroy |
ngOnDestroy()
|
Destroys the service.
Returns :
void
|
refreshContext |
refreshContext()
|
Refreshes the context.
Returns :
void
|