NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
NativeScript Angular
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"router/ns-route-reuse-strategy"
NSRouteReuseStrategy
Class NSRouteReuseStrategy
Globals
"router/ns-
route-
reuse-
strategy"
Detached
State
Cache
NSRoute
Reuse
Strategy
constructor
cache
ByOutlet
location
clear
Cache
clear
Modal
Cache
retrieve
should
Attach
should
Detach
should
Reuse
Route
store
Cache
Item
get
Snapshot
Key
Hierarchy
NSRouteReuseStrategy
Implements
RouteReuseStrategy
Index
Constructors
constructor
Properties
cache
ByOutlet
location
Methods
clear
Cache
clear
Modal
Cache
retrieve
should
Attach
should
Detach
should
Reuse
Route
store
Constructors
constructor
new NSRoute
Reuse
Strategy
(
location
:
NSLocationStrategy
)
:
NSRouteReuseStrategy
Parameters
location:
NSLocationStrategy
Returns
NSRouteReuseStrategy
Properties
Private
cache
ByOutlet
cache
ByOutlet
:
object
Type declaration
[
key:
string
]:
DetachedStateCache
Private
location
location
:
NSLocationStrategy
Methods
clear
Cache
clear
Cache
(
outletKey
:
string
)
:
void
Parameters
outletKey:
string
Returns
void
clear
Modal
Cache
clear
Modal
Cache
(
outletKey
:
string
)
:
void
Parameters
outletKey:
string
Returns
void
retrieve
retrieve
(
route
:
ActivatedRouteSnapshot
)
:
DetachedRouteHandle
|
null
Parameters
route:
ActivatedRouteSnapshot
Returns
DetachedRouteHandle
|
null
should
Attach
should
Attach
(
route
:
ActivatedRouteSnapshot
)
:
boolean
Parameters
route:
ActivatedRouteSnapshot
Returns
boolean
should
Detach
should
Detach
(
route
:
ActivatedRouteSnapshot
)
:
boolean
Parameters
route:
ActivatedRouteSnapshot
Returns
boolean
should
Reuse
Route
should
Reuse
Route
(
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
🐛 Debug your mobile network traffic with Fiddler! Try it on
iOS
or
Android