Router

Router

Stable Class

What it does

Provides the navigation and url manipulation capabilities.

See Routes for more details and examples.

Class Overview

class Router {
  constructor(rootComponentType: Type<any>, urlSerializer: UrlSerializer, outletMap: RouterOutletMap, location: Location, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes)
  
  
  errorHandler : ErrorHandler
  navigated : boolean
  urlHandlingStrategy : UrlHandlingStrategy
  routeReuseStrategy : RouteReuseStrategy
  config : Routes
  in