File

src/core/smart-form/smart-route-reuse.strategy.ts

Description

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.

Implements

RouteReuseStrategy

Example

Index

Properties
Methods

Constructor

constructor()

Properties

handlers
Type : literal type
Default value : {}
Static INSTANCE
Type : SmartRouteReuseStrategy
Default value : null

Methods

getComponentInstance
getComponentInstance(route: ActivatedRouteSnapshot)
Type parameters :
  • T
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No
Returns : T

T

retrieve
retrieve(route: ActivatedRouteSnapshot)
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No

DetachedRouteHandle

shouldAttach
shouldAttach(route: ActivatedRouteSnapshot)
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No
Returns : boolean

boolean

shouldDetach
shouldDetach(route: ActivatedRouteSnapshot)
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No
Returns : boolean

boolean

shouldReuseRoute
shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot)
Parameters :
Name Type Optional
future ActivatedRouteSnapshot No
curr ActivatedRouteSnapshot No
Returns : boolean

boolean

store
store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle)
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No
handle DetachedRouteHandle No
Returns : void

void

result-matching ""

    No results matching ""