GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • DetachedRouteHandle

This view

  • Original page
  • New address

GeezerVison is showing next.angular.dev — RouteReuseStrategy • Angular

API

    
      abstract class RouteReuseStrategy {}
    
    

Determines if this route (and its subtree) should be detached to be reused later

@paramrouteActivatedRouteSnapshot
@returnsboolean

Stores the detached route.

Storing a null value should erase the previously stored value.

@paramrouteActivatedRouteSnapshot
@paramhandleDetachedRouteHandle | null
@returnsvoid

Determines if this route (and its subtree) should be reattached

@paramrouteActivatedRouteSnapshot
@returnsboolean

Retrieves the previously stored route

@paramrouteActivatedRouteSnapshot
@returnsDetachedRouteHandle | null

Determines if a route should be reused.

Note: Recreating a component by returning false does not automatically rerun guards or resolvers; rerun behavior for an unchanged route configuration is controlled by RunGuardsAndResolvers.

@paramfutureActivatedRouteSnapshot
@paramcurrActivatedRouteSnapshot
@returnsboolean

Returns a list of all currently stored DetachedRouteHandles.

This method is called by the router after navigations to identify which injectors are still needed by detached routes.

@returnsDetachedRouteHandle[]

Determines if the injector for the given route should be destroyed.

If this method returns true, the router will destroy the injector for the given route.

@paramrouteRoute
@returnsboolean
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.