2016-06-23 09:47:54 -07:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
2016-06-08 11:13:41 -07:00
|
|
|
import {RouterOutlet} from './directives/router_outlet';
|
2016-05-24 13:21:55 -07:00
|
|
|
|
2016-06-27 12:27:23 -07:00
|
|
|
/**
|
2016-06-28 14:49:29 -07:00
|
|
|
* @stable
|
2016-06-27 12:27:23 -07:00
|
|
|
*/
|
2016-05-24 13:21:55 -07:00
|
|
|
export class RouterOutletMap {
|
|
|
|
/** @internal */
|
|
|
|
_outlets: {[name: string]: RouterOutlet} = {};
|
|
|
|
registerOutlet(name: string, outlet: RouterOutlet): void { this._outlets[name] = outlet; }
|
|
|
|
}
|