W3cubDocs

/Angular 2

RouterOutletMap

Stable Class

What it does

Contains all the router outlets created in a component.

Class Overview

class RouterOutletMap {
  registerOutlet(name: string, outlet: RouterOutlet) : void
  removeOutlet(name: string) : void
}

Class Description

Class Details

registerOutlet(name: string, outlet: RouterOutlet) : void

Adds an outlet to this map.

removeOutlet(name: string) : void

Removes an outlet from this map.

exported from @angular/router/index, defined in @angular/router/src/router_outlet_map.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/router/index/RouterOutletMap-class.html