Class NSRouteReuseStrategy
Properties
Private
cacheByOutlet
cacheByOutlet:
object
Methods
clearCache
-
clearCache(outletKey: string): void
clearModalCache
-
clearModalCache(outletKey: string): void
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, state: DetachedRouteHandle): void
-
Parameters
-
route:
ActivatedRouteSnapshot
-
state:
DetachedRouteHandle
Returns void
Legend
-
Module
-
Object literal
-
Variable
-
Function
-
Function with type parameter
-
Index signature
-
Type alias
-
Enumeration
-
Enumeration member
-
Property
-
Method
-
Interface
-
Interface with type parameter
-
Constructor
-
Property
-
Method
-
Index signature
-
Class
-
Class with type parameter
-
Constructor
-
Property
-
Method
-
Accessor
-
Index signature
-
Inherited constructor
-
Inherited property
-
Inherited method
-
Inherited accessor
-
Protected property
-
Protected method
-
Protected accessor
-
Private property
-
Private method
-
Private accessor
-
Static property
-
Static method
Detaches subtrees loaded inside PageRouterOutlet in forward navigation and reattaches them on back. Reuses routes as long as their route config is the same.