router_outlet_map.js
1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* @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
*/
/**
* \@whatItDoes Contains all the router outlets created in a component.
*
* \@stable
*/
export var RouterOutletMap = (function () {
function RouterOutletMap() {
/** @internal */
this._outlets = {};
}
/**
* Adds an outlet to this map.
* @param {?} name
* @param {?} outlet
* @return {?}
*/
RouterOutletMap.prototype.registerOutlet = function (name, outlet) { this._outlets[name] = outlet; };
/**
* Removes an outlet from this map.
* @param {?} name
* @return {?}
*/
RouterOutletMap.prototype.removeOutlet = function (name) { this._outlets[name] = undefined; };
return RouterOutletMap;
}());
function RouterOutletMap_tsickle_Closure_declarations() {
/**
* \@internal
* @type {?}
*/
RouterOutletMap.prototype._outlets;
}
//# sourceMappingURL=router_outlet_map.js.map