RouteReuseStrategy

Experimental

Class

What it does

Provides a way to customize when activated routes get reused.

Class Overview

class RouteReuseStrategy {
shouldDetach(route: ActivatedRouteSnapshot) : boolean
store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle) : void
shouldAttach(route: ActivatedRouteSnapshot) : boolean
retrieve(route: ActivatedRouteSnapshot) : DetachedRouteHandle
shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot) : boolean

}

Class Description

Class Details

exported from router/index, defined in router/src/route_reuse_strategy.ts