11 lines
275 B
TypeScript
11 lines
275 B
TypeScript
|
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; }
|
||
|
}
|