@base-framework/base 3.0.200 → 3.0.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,7 +29,7 @@ export class Router {
|
|
|
29
29
|
* This will store each route added to the router.
|
|
30
30
|
*/
|
|
31
31
|
routes: any[];
|
|
32
|
-
switches:
|
|
32
|
+
switches: Map<any, any>;
|
|
33
33
|
switchCount: number;
|
|
34
34
|
/**
|
|
35
35
|
* @member {object} data
|
|
@@ -123,11 +123,18 @@ export class Router {
|
|
|
123
123
|
* @returns {number} the switch id.
|
|
124
124
|
*/
|
|
125
125
|
resumeSwitch(group: object, container: object): number;
|
|
126
|
-
|
|
126
|
+
/**
|
|
127
|
+
* This will get a switch group by id.
|
|
128
|
+
*
|
|
129
|
+
* @param {number} id
|
|
130
|
+
* @returns {array}
|
|
131
|
+
*/
|
|
132
|
+
getSwitchGroup(id: number): any[];
|
|
127
133
|
/**
|
|
128
134
|
* This will remove a switch by id.
|
|
129
135
|
*
|
|
130
136
|
* @param {string} id
|
|
137
|
+
* @returns {void}
|
|
131
138
|
*/
|
|
132
139
|
removeSwitch(id: string): void;
|
|
133
140
|
/**
|