feat: implement RouterOutletMap

This commit is contained in:
vsavkin 2016-05-24 13:21:55 -07:00
parent aad7010952
commit 1f98519380
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
import { RouterOutlet } from './directives/router_outlet';
/**
* @internal
*/
export class RouterOutletMap {
/** @internal */
_outlets: {[name: string]: RouterOutlet} = {};
registerOutlet(name: string, outlet: RouterOutlet): void { this._outlets[name] = outlet; }
}