File

projects/aoc-client/core/services/aoc-tab/aoc-reuse-strategy.ts

Description

Comments from https://itnext.io/cache-components-with-angular-routereusestrategy-3e4c8b174d5f

Implements

RouteReuseStrategy

Index

Properties
Methods

Constructor

constructor(disableComponentsCache: string[] | "*")
Parameters :
Name Type Optional
disableComponentsCache string[] | "*" No

Properties

Public handlers
Type : literal type
Default value : {}

Methods

Public deleteRouteSnapshot
deleteRouteSnapshot(name: string)
Parameters :
Name Type Optional
name string No
Returns : void
Public retrieve
retrieve(route: ActivatedRouteSnapshot)
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No
Returns : DetachedRouteHandle
Public shouldAttach
shouldAttach(route: ActivatedRouteSnapshot)
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No
Returns : boolean
Public shouldDetach
shouldDetach(route: ActivatedRouteSnapshot)
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No
Returns : boolean
Public shouldReuseRoute
shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot)
Parameters :
Name Type Optional
future ActivatedRouteSnapshot No
curr ActivatedRouteSnapshot No
Returns : boolean
Public store
store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle)
Parameters :
Name Type Optional
route ActivatedRouteSnapshot No
handle DetachedRouteHandle No
Returns : void

results matching ""

    No results matching ""