• Overview
@angular/router

PartialMatchRouteSnapshot

Type Alias
stable

A subset of the ActivatedRouteSnapshot interface that includes only the known data up to the route matching phase. Some data are not accurately known at in this phase. For example, resolvers are not run until later, so any resolved title would not be populated. The same goes for lazy loaded components. This is also true for all the snapshots up to the root, so properties that include parents (root, parent, pathFromRoot) are also excluded. And naturally, the full route matching hasn't yet happened so firstChild and children are not available either.

API

    
      type PartialMatchRouteSnapshot = Pick<  ActivatedRouteSnapshot,  | 'routeConfig'  | 'url'  | 'params'  | 'queryParams'  | 'fragment'  | 'data'  | 'outlet'  | 'title'  | 'paramMap'  | 'queryParamMap'>
    
    
Jump to details