Class AemPageRouteReuseStrategy
Hierarchy
-
AemPageRouteReuseStrategy
Methods
retrieve
- retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null
-
Parameters
-
route: ActivatedRouteSnapshot
Returns DetachedRouteHandle | null
shouldAttach
- shouldAttach(route: ActivatedRouteSnapshot): boolean
-
Parameters
-
route: ActivatedRouteSnapshot
Returns boolean
shouldDetach
- shouldDetach(route: ActivatedRouteSnapshot): boolean
-
Parameters
-
route: ActivatedRouteSnapshot
Returns boolean
shouldReuseRoute
- shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean
-
Parameters
-
future: ActivatedRouteSnapshot
-
curr: ActivatedRouteSnapshot
Returns boolean
store
- store(route: ActivatedRouteSnapshot, detachedTree: DetachedRouteHandle): void
-
Parameters
-
route: ActivatedRouteSnapshot
-
detachedTree: DetachedRouteHandle
Returns void
Implements RouteReuseStrategy to customize route reuse.