feat: implement RouterOutletMap
This commit is contained in:
10
modules/@angular/router/src/router_outlet_map.ts
Normal file
10
modules/@angular/router/src/router_outlet_map.ts
Normal 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; }
|
||||||
|
}
|
Reference in New Issue
Block a user