RouterOutletMap

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 router-index, defined in router/src/router_outlet_map.ts

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部