src/core/smart-form/smart-route-reuse.strategy.ts
Used to provide sticky route functionality to SmartComponent Library apps, necessary for back/forward browser navigation. Please see the RouteReuseStrategy documentation for more information on route reuse strategies.
Properties |
Methods |
constructor()
|
handlers |
Type : literal type
|
Default value : {}
|
Static INSTANCE |
Type : SmartRouteReuseStrategy
|
Default value : null
|
getComponentInstance | ||||||
getComponentInstance(route: ActivatedRouteSnapshot)
|
||||||
Type parameters :
|
||||||
Parameters :
Returns :
T
T |
retrieve | ||||||
retrieve(route: ActivatedRouteSnapshot)
|
||||||
Parameters :
Returns :
DetachedRouteHandle
DetachedRouteHandle |
shouldAttach | ||||||
shouldAttach(route: ActivatedRouteSnapshot)
|
||||||
Parameters :
Returns :
boolean
boolean |
shouldDetach | ||||||
shouldDetach(route: ActivatedRouteSnapshot)
|
||||||
Parameters :
Returns :
boolean
boolean |
shouldReuseRoute | |||||||||
shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot)
|
|||||||||
Parameters :
Returns :
boolean
boolean |
store | |||||||||
store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle)
|
|||||||||
Parameters :
Returns :
void
void |