feat: implement RouterOutletMap
This commit is contained in:
parent
aad7010952
commit
1f98519380
|
@ -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; }
|
||||||
|
}
|
Loading…
Reference in New Issue