projects/aoc-client/core/services/aoc-tab/aoc-reuse-strategy.ts
Comments from https://itnext.io/cache-components-with-angular-routereusestrategy-3e4c8b174d5f
RouteReuseStrategy
Properties |
|
Methods |
|
constructor(disableComponentsCache: string[] | "*")
|
||||||
Parameters :
|
Public handlers |
Type : literal type
|
Default value : {}
|
Public deleteRouteSnapshot | ||||||
deleteRouteSnapshot(name: string)
|
||||||
Parameters :
Returns :
void
|
Public retrieve | ||||||
retrieve(route: ActivatedRouteSnapshot)
|
||||||
Parameters :
Returns :
DetachedRouteHandle
|
Public shouldAttach | ||||||
shouldAttach(route: ActivatedRouteSnapshot)
|
||||||
Parameters :
Returns :
boolean
|
Public shouldDetach | ||||||
shouldDetach(route: ActivatedRouteSnapshot)
|
||||||
Parameters :
Returns :
boolean
|
Public shouldReuseRoute | |||||||||
shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot)
|
|||||||||
Parameters :
Returns :
boolean
|
Public store | |||||||||
store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle)
|
|||||||||
Parameters :
Returns :
void
|