Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NSRouteReuseStrategy

Detaches subtrees loaded inside PageRouterOutlet in forward navigation and reattaches them on back. Reuses routes as long as their route config is the same.

Hierarchy

  • NSRouteReuseStrategy

Implements

  • RouteReuseStrategy

Index

Constructors

constructor

Properties

Private cacheByOutlet

cacheByOutlet: object

Type declaration

Private location

location: NSLocationStrategy

Methods

clearCache

  • clearCache(outletKey: string): void

clearModalCache

  • clearModalCache(outletKey: string): void

retrieve

  • retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null

shouldAttach

  • shouldAttach(route: ActivatedRouteSnapshot): boolean

shouldDetach

  • shouldDetach(route: ActivatedRouteSnapshot): boolean

shouldReuseRoute

  • shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean

store

  • store(route: ActivatedRouteSnapshot, state: DetachedRouteHandle): 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