@genesislcap/foundation-utils 14.311.0 → 14.311.1-alpha-3bdf18f.0
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.
- package/dist/custom-elements.json +830 -149
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/shortcut-manager/index.d.ts +3 -0
- package/dist/dts/shortcut-manager/index.d.ts.map +1 -0
- package/dist/dts/shortcut-manager/shortcut-listener.d.ts +21 -0
- package/dist/dts/shortcut-manager/shortcut-listener.d.ts.map +1 -0
- package/dist/dts/shortcut-manager/shortcut-manager.d.ts +120 -0
- package/dist/dts/shortcut-manager/shortcut-manager.d.ts.map +1 -0
- package/dist/dts/utils/os-platform.d.ts +31 -0
- package/dist/dts/utils/os-platform.d.ts.map +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/shortcut-manager/index.js +2 -0
- package/dist/esm/shortcut-manager/shortcut-listener.js +140 -0
- package/dist/esm/shortcut-manager/shortcut-manager.js +286 -0
- package/dist/esm/utils/os-platform.js +63 -0
- package/dist/foundation-utils.api.json +8414 -5799
- package/dist/foundation-utils.d.ts +145 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.clearactivecontext.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.executeshortcut.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.executeshortcutbycontext.md +64 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.findshortcutbykeycombination.md +114 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getactivecontext.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getcontexts.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcuts.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcutsbycontextmap.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.ispaused.md +11 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.ispaused_.md +11 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.ispausedsubject.md +11 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.md +321 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.pause.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.registercontext.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.registershortcut.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.registershortcuts.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.resume.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.setactivecontext.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.unregistershortcut.md +64 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.unregistershortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.connectedcallback.md +15 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.disconnectedcallback.md +15 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.md +105 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.shortcutmanager.md +11 -0
- package/docs/api/foundation-utils.md +77 -0
- package/docs/api/foundation-utils.shortcutdefinition.action.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.altkey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.canexecute.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.context.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.ctrlkey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.description.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.elementref.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.id.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.key.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.md +276 -0
- package/docs/api/foundation-utils.shortcutdefinition.metakey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.optionkey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.priority.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.shiftkey.md +11 -0
- package/docs/api/foundation-utils.shortcutexecutionstatus.md +16 -0
- package/docs/api/foundation-utils.shortcutmanager.clearactivecontext.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.executeshortcut.md +58 -0
- package/docs/api/foundation-utils.shortcutmanager.executeshortcutbycontext.md +70 -0
- package/docs/api/foundation-utils.shortcutmanager.findshortcutbykeycombination.md +114 -0
- package/docs/api/foundation-utils.shortcutmanager.getactivecontext.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.getcontexts.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.getshortcuts.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.getshortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.getshortcutsbycontextmap.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.ispaused.md +11 -0
- package/docs/api/foundation-utils.shortcutmanager.ispaused_.md +11 -0
- package/docs/api/foundation-utils.shortcutmanager.ispausedsubject.md +11 -0
- package/docs/api/foundation-utils.shortcutmanager.md +13 -0
- package/docs/api/foundation-utils.shortcutmanager.pause.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.registercontext.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.registershortcut.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.registershortcuts.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.resume.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.setactivecontext.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.unregistershortcut.md +64 -0
- package/docs/api/foundation-utils.shortcutmanager.unregistershortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.disabled.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.id.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.keycombination.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.keycombinationdisplay.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.md +141 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.shortcut.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.tooltip.md +11 -0
- package/docs/api-report.md.api.md +153 -0
- package/package.json +12 -11
@@ -0,0 +1,321 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md)
|
4
|
+
|
5
|
+
## DefaultShortcutManager class
|
6
|
+
|
7
|
+
Default implementation of the ShortcutManager interface
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export declare class DefaultShortcutManager implements ShortcutManager
|
13
|
+
```
|
14
|
+
**Implements:** [ShortcutManager](./foundation-utils.shortcutmanager.md)
|
15
|
+
|
16
|
+
## Properties
|
17
|
+
|
18
|
+
<table><thead><tr><th>
|
19
|
+
|
20
|
+
Property
|
21
|
+
|
22
|
+
|
23
|
+
</th><th>
|
24
|
+
|
25
|
+
Modifiers
|
26
|
+
|
27
|
+
|
28
|
+
</th><th>
|
29
|
+
|
30
|
+
Type
|
31
|
+
|
32
|
+
|
33
|
+
</th><th>
|
34
|
+
|
35
|
+
Description
|
36
|
+
|
37
|
+
|
38
|
+
</th></tr></thead>
|
39
|
+
<tbody><tr><td>
|
40
|
+
|
41
|
+
[isPaused](./foundation-utils.defaultshortcutmanager.ispaused.md)
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
`readonly`
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
boolean
|
52
|
+
|
53
|
+
|
54
|
+
</td><td>
|
55
|
+
|
56
|
+
|
57
|
+
</td></tr>
|
58
|
+
<tr><td>
|
59
|
+
|
60
|
+
[isPaused$](./foundation-utils.defaultshortcutmanager.ispaused_.md)
|
61
|
+
|
62
|
+
|
63
|
+
</td><td>
|
64
|
+
|
65
|
+
`readonly`
|
66
|
+
|
67
|
+
|
68
|
+
</td><td>
|
69
|
+
|
70
|
+
Observable<boolean>
|
71
|
+
|
72
|
+
|
73
|
+
</td><td>
|
74
|
+
|
75
|
+
|
76
|
+
</td></tr>
|
77
|
+
<tr><td>
|
78
|
+
|
79
|
+
[isPausedSubject](./foundation-utils.defaultshortcutmanager.ispausedsubject.md)
|
80
|
+
|
81
|
+
|
82
|
+
</td><td>
|
83
|
+
|
84
|
+
`readonly`
|
85
|
+
|
86
|
+
|
87
|
+
</td><td>
|
88
|
+
|
89
|
+
BehaviorSubject<boolean>
|
90
|
+
|
91
|
+
|
92
|
+
</td><td>
|
93
|
+
|
94
|
+
|
95
|
+
</td></tr>
|
96
|
+
</tbody></table>
|
97
|
+
|
98
|
+
## Methods
|
99
|
+
|
100
|
+
<table><thead><tr><th>
|
101
|
+
|
102
|
+
Method
|
103
|
+
|
104
|
+
|
105
|
+
</th><th>
|
106
|
+
|
107
|
+
Modifiers
|
108
|
+
|
109
|
+
|
110
|
+
</th><th>
|
111
|
+
|
112
|
+
Description
|
113
|
+
|
114
|
+
|
115
|
+
</th></tr></thead>
|
116
|
+
<tbody><tr><td>
|
117
|
+
|
118
|
+
[clearActiveContext()](./foundation-utils.defaultshortcutmanager.clearactivecontext.md)
|
119
|
+
|
120
|
+
|
121
|
+
</td><td>
|
122
|
+
|
123
|
+
|
124
|
+
</td><td>
|
125
|
+
|
126
|
+
|
127
|
+
</td></tr>
|
128
|
+
<tr><td>
|
129
|
+
|
130
|
+
[executeShortcut(id)](./foundation-utils.defaultshortcutmanager.executeshortcut.md)
|
131
|
+
|
132
|
+
|
133
|
+
</td><td>
|
134
|
+
|
135
|
+
|
136
|
+
</td><td>
|
137
|
+
|
138
|
+
|
139
|
+
</td></tr>
|
140
|
+
<tr><td>
|
141
|
+
|
142
|
+
[executeShortcutByContext(context, id)](./foundation-utils.defaultshortcutmanager.executeshortcutbycontext.md)
|
143
|
+
|
144
|
+
|
145
|
+
</td><td>
|
146
|
+
|
147
|
+
|
148
|
+
</td><td>
|
149
|
+
|
150
|
+
|
151
|
+
</td></tr>
|
152
|
+
<tr><td>
|
153
|
+
|
154
|
+
[findShortcutByKeyCombination(key, ctrlKey, altKey, shiftKey, metaKey)](./foundation-utils.defaultshortcutmanager.findshortcutbykeycombination.md)
|
155
|
+
|
156
|
+
|
157
|
+
</td><td>
|
158
|
+
|
159
|
+
|
160
|
+
</td><td>
|
161
|
+
|
162
|
+
|
163
|
+
</td></tr>
|
164
|
+
<tr><td>
|
165
|
+
|
166
|
+
[getActiveContext()](./foundation-utils.defaultshortcutmanager.getactivecontext.md)
|
167
|
+
|
168
|
+
|
169
|
+
</td><td>
|
170
|
+
|
171
|
+
|
172
|
+
</td><td>
|
173
|
+
|
174
|
+
|
175
|
+
</td></tr>
|
176
|
+
<tr><td>
|
177
|
+
|
178
|
+
[getContexts()](./foundation-utils.defaultshortcutmanager.getcontexts.md)
|
179
|
+
|
180
|
+
|
181
|
+
</td><td>
|
182
|
+
|
183
|
+
|
184
|
+
</td><td>
|
185
|
+
|
186
|
+
|
187
|
+
</td></tr>
|
188
|
+
<tr><td>
|
189
|
+
|
190
|
+
[getShortcuts()](./foundation-utils.defaultshortcutmanager.getshortcuts.md)
|
191
|
+
|
192
|
+
|
193
|
+
</td><td>
|
194
|
+
|
195
|
+
|
196
|
+
</td><td>
|
197
|
+
|
198
|
+
|
199
|
+
</td></tr>
|
200
|
+
<tr><td>
|
201
|
+
|
202
|
+
[getShortcutsByContext(context)](./foundation-utils.defaultshortcutmanager.getshortcutsbycontext.md)
|
203
|
+
|
204
|
+
|
205
|
+
</td><td>
|
206
|
+
|
207
|
+
|
208
|
+
</td><td>
|
209
|
+
|
210
|
+
|
211
|
+
</td></tr>
|
212
|
+
<tr><td>
|
213
|
+
|
214
|
+
[getShortcutsByContextMap()](./foundation-utils.defaultshortcutmanager.getshortcutsbycontextmap.md)
|
215
|
+
|
216
|
+
|
217
|
+
</td><td>
|
218
|
+
|
219
|
+
|
220
|
+
</td><td>
|
221
|
+
|
222
|
+
|
223
|
+
</td></tr>
|
224
|
+
<tr><td>
|
225
|
+
|
226
|
+
[pause()](./foundation-utils.defaultshortcutmanager.pause.md)
|
227
|
+
|
228
|
+
|
229
|
+
</td><td>
|
230
|
+
|
231
|
+
|
232
|
+
</td><td>
|
233
|
+
|
234
|
+
|
235
|
+
</td></tr>
|
236
|
+
<tr><td>
|
237
|
+
|
238
|
+
[registerContext(context)](./foundation-utils.defaultshortcutmanager.registercontext.md)
|
239
|
+
|
240
|
+
|
241
|
+
</td><td>
|
242
|
+
|
243
|
+
|
244
|
+
</td><td>
|
245
|
+
|
246
|
+
|
247
|
+
</td></tr>
|
248
|
+
<tr><td>
|
249
|
+
|
250
|
+
[registerShortcut(shortcut)](./foundation-utils.defaultshortcutmanager.registershortcut.md)
|
251
|
+
|
252
|
+
|
253
|
+
</td><td>
|
254
|
+
|
255
|
+
|
256
|
+
</td><td>
|
257
|
+
|
258
|
+
|
259
|
+
</td></tr>
|
260
|
+
<tr><td>
|
261
|
+
|
262
|
+
[registerShortcuts(shortcuts)](./foundation-utils.defaultshortcutmanager.registershortcuts.md)
|
263
|
+
|
264
|
+
|
265
|
+
</td><td>
|
266
|
+
|
267
|
+
|
268
|
+
</td><td>
|
269
|
+
|
270
|
+
|
271
|
+
</td></tr>
|
272
|
+
<tr><td>
|
273
|
+
|
274
|
+
[resume()](./foundation-utils.defaultshortcutmanager.resume.md)
|
275
|
+
|
276
|
+
|
277
|
+
</td><td>
|
278
|
+
|
279
|
+
|
280
|
+
</td><td>
|
281
|
+
|
282
|
+
|
283
|
+
</td></tr>
|
284
|
+
<tr><td>
|
285
|
+
|
286
|
+
[setActiveContext(context)](./foundation-utils.defaultshortcutmanager.setactivecontext.md)
|
287
|
+
|
288
|
+
|
289
|
+
</td><td>
|
290
|
+
|
291
|
+
|
292
|
+
</td><td>
|
293
|
+
|
294
|
+
|
295
|
+
</td></tr>
|
296
|
+
<tr><td>
|
297
|
+
|
298
|
+
[unregisterShortcut(context, id)](./foundation-utils.defaultshortcutmanager.unregistershortcut.md)
|
299
|
+
|
300
|
+
|
301
|
+
</td><td>
|
302
|
+
|
303
|
+
|
304
|
+
</td><td>
|
305
|
+
|
306
|
+
|
307
|
+
</td></tr>
|
308
|
+
<tr><td>
|
309
|
+
|
310
|
+
[unregisterShortcutsByContext(context)](./foundation-utils.defaultshortcutmanager.unregistershortcutsbycontext.md)
|
311
|
+
|
312
|
+
|
313
|
+
</td><td>
|
314
|
+
|
315
|
+
|
316
|
+
</td><td>
|
317
|
+
|
318
|
+
|
319
|
+
</td></tr>
|
320
|
+
</tbody></table>
|
321
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md) > [pause](./foundation-utils.defaultshortcutmanager.pause.md)
|
4
|
+
|
5
|
+
## DefaultShortcutManager.pause() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
pause(): void;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
void
|
15
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md) > [registerContext](./foundation-utils.defaultshortcutmanager.registercontext.md)
|
4
|
+
|
5
|
+
## DefaultShortcutManager.registerContext() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
registerContext(context: string): void;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Parameter
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Type
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Description
|
28
|
+
|
29
|
+
|
30
|
+
</th></tr></thead>
|
31
|
+
<tbody><tr><td>
|
32
|
+
|
33
|
+
context
|
34
|
+
|
35
|
+
|
36
|
+
</td><td>
|
37
|
+
|
38
|
+
string
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td></tr>
|
45
|
+
</tbody></table>
|
46
|
+
|
47
|
+
**Returns:**
|
48
|
+
|
49
|
+
void
|
50
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md) > [registerShortcut](./foundation-utils.defaultshortcutmanager.registershortcut.md)
|
4
|
+
|
5
|
+
## DefaultShortcutManager.registerShortcut() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
registerShortcut(shortcut: ShortcutDefinition): ShortcutRegistrationResult;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Parameter
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Type
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Description
|
28
|
+
|
29
|
+
|
30
|
+
</th></tr></thead>
|
31
|
+
<tbody><tr><td>
|
32
|
+
|
33
|
+
shortcut
|
34
|
+
|
35
|
+
|
36
|
+
</td><td>
|
37
|
+
|
38
|
+
[ShortcutDefinition](./foundation-utils.shortcutdefinition.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td></tr>
|
45
|
+
</tbody></table>
|
46
|
+
|
47
|
+
**Returns:**
|
48
|
+
|
49
|
+
[ShortcutRegistrationResult](./foundation-utils.shortcutregistrationresult.md)
|
50
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md) > [registerShortcuts](./foundation-utils.defaultshortcutmanager.registershortcuts.md)
|
4
|
+
|
5
|
+
## DefaultShortcutManager.registerShortcuts() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
registerShortcuts(shortcuts: ShortcutDefinition[]): void;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Parameter
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Type
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Description
|
28
|
+
|
29
|
+
|
30
|
+
</th></tr></thead>
|
31
|
+
<tbody><tr><td>
|
32
|
+
|
33
|
+
shortcuts
|
34
|
+
|
35
|
+
|
36
|
+
</td><td>
|
37
|
+
|
38
|
+
[ShortcutDefinition](./foundation-utils.shortcutdefinition.md)<!-- -->\[\]
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td></tr>
|
45
|
+
</tbody></table>
|
46
|
+
|
47
|
+
**Returns:**
|
48
|
+
|
49
|
+
void
|
50
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md) > [resume](./foundation-utils.defaultshortcutmanager.resume.md)
|
4
|
+
|
5
|
+
## DefaultShortcutManager.resume() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
resume(): void;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
void
|
15
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md) > [setActiveContext](./foundation-utils.defaultshortcutmanager.setactivecontext.md)
|
4
|
+
|
5
|
+
## DefaultShortcutManager.setActiveContext() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
setActiveContext(context: string): void;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Parameter
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Type
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Description
|
28
|
+
|
29
|
+
|
30
|
+
</th></tr></thead>
|
31
|
+
<tbody><tr><td>
|
32
|
+
|
33
|
+
context
|
34
|
+
|
35
|
+
|
36
|
+
</td><td>
|
37
|
+
|
38
|
+
string
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td></tr>
|
45
|
+
</tbody></table>
|
46
|
+
|
47
|
+
**Returns:**
|
48
|
+
|
49
|
+
void
|
50
|
+
|
@@ -0,0 +1,64 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md) > [unregisterShortcut](./foundation-utils.defaultshortcutmanager.unregistershortcut.md)
|
4
|
+
|
5
|
+
## DefaultShortcutManager.unregisterShortcut() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
unregisterShortcut(context: string, id: string): void;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Parameter
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Type
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Description
|
28
|
+
|
29
|
+
|
30
|
+
</th></tr></thead>
|
31
|
+
<tbody><tr><td>
|
32
|
+
|
33
|
+
context
|
34
|
+
|
35
|
+
|
36
|
+
</td><td>
|
37
|
+
|
38
|
+
string
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td></tr>
|
45
|
+
<tr><td>
|
46
|
+
|
47
|
+
id
|
48
|
+
|
49
|
+
|
50
|
+
</td><td>
|
51
|
+
|
52
|
+
string
|
53
|
+
|
54
|
+
|
55
|
+
</td><td>
|
56
|
+
|
57
|
+
|
58
|
+
</td></tr>
|
59
|
+
</tbody></table>
|
60
|
+
|
61
|
+
**Returns:**
|
62
|
+
|
63
|
+
void
|
64
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md) > [unregisterShortcutsByContext](./foundation-utils.defaultshortcutmanager.unregistershortcutsbycontext.md)
|
4
|
+
|
5
|
+
## DefaultShortcutManager.unregisterShortcutsByContext() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
unregisterShortcutsByContext(context: string): void;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Parameter
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Type
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Description
|
28
|
+
|
29
|
+
|
30
|
+
</th></tr></thead>
|
31
|
+
<tbody><tr><td>
|
32
|
+
|
33
|
+
context
|
34
|
+
|
35
|
+
|
36
|
+
</td><td>
|
37
|
+
|
38
|
+
string
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td></tr>
|
45
|
+
</tbody></table>
|
46
|
+
|
47
|
+
**Returns:**
|
48
|
+
|
49
|
+
void
|
50
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [FoundationShortcutListener](./foundation-utils.foundationshortcutlistener.md) > [connectedCallback](./foundation-utils.foundationshortcutlistener.connectedcallback.md)
|
4
|
+
|
5
|
+
## FoundationShortcutListener.connectedCallback() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
connectedCallback(): void;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
void
|
15
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [FoundationShortcutListener](./foundation-utils.foundationshortcutlistener.md) > [disconnectedCallback](./foundation-utils.foundationshortcutlistener.disconnectedcallback.md)
|
4
|
+
|
5
|
+
## FoundationShortcutListener.disconnectedCallback() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
disconnectedCallback(): void;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
void
|
15
|
+
|