@sankhyalabs/core-docs 0.0.0-bugfix-dev-KB-75940.1 → 0.0.0-bugfix-dev-KB-81596.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/classes/KeyboardManager.md +9 -79
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ opções para o gerenciamento de eventos de teclado.
|
|
|
28
28
|
|
|
29
29
|
#### Source
|
|
30
30
|
|
|
31
|
-
src/utils/KeyboardManager/index.ts:
|
|
31
|
+
src/utils/KeyboardManager/index.ts:19
|
|
32
32
|
|
|
33
33
|
## Properties
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@ src/utils/KeyboardManager/index.ts:20
|
|
|
38
38
|
|
|
39
39
|
#### Source
|
|
40
40
|
|
|
41
|
-
src/utils/KeyboardManager/index.ts:
|
|
41
|
+
src/utils/KeyboardManager/index.ts:12
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
@@ -50,16 +50,6 @@ src/utils/KeyboardManager/index.ts:13
|
|
|
50
50
|
|
|
51
51
|
src/utils/KeyboardManager/index.ts:11
|
|
52
52
|
|
|
53
|
-
***
|
|
54
|
-
|
|
55
|
-
### \_shadowRoots
|
|
56
|
-
|
|
57
|
-
> `private` **\_shadowRoots**: `ShadowRoot`[] = `[]`
|
|
58
|
-
|
|
59
|
-
#### Source
|
|
60
|
-
|
|
61
|
-
src/utils/KeyboardManager/index.ts:12
|
|
62
|
-
|
|
63
53
|
## Accessors
|
|
64
54
|
|
|
65
55
|
### mappedKeys
|
|
@@ -76,30 +66,10 @@ chaves mapeadas com descrições
|
|
|
76
66
|
|
|
77
67
|
#### Source
|
|
78
68
|
|
|
79
|
-
src/utils/KeyboardManager/index.ts:
|
|
69
|
+
src/utils/KeyboardManager/index.ts:97
|
|
80
70
|
|
|
81
71
|
## Methods
|
|
82
72
|
|
|
83
|
-
### addEventListenerToNestedShadowRoots()
|
|
84
|
-
|
|
85
|
-
> `private` **addEventListenerToNestedShadowRoots**(`event`, `callback`): `void`
|
|
86
|
-
|
|
87
|
-
#### Parameters
|
|
88
|
-
|
|
89
|
-
• **event**: `"keydown"` \| `"keyup"`
|
|
90
|
-
|
|
91
|
-
• **callback**: `VoidFunction`
|
|
92
|
-
|
|
93
|
-
#### Returns
|
|
94
|
-
|
|
95
|
-
`void`
|
|
96
|
-
|
|
97
|
-
#### Source
|
|
98
|
-
|
|
99
|
-
src/utils/KeyboardManager/index.ts:56
|
|
100
|
-
|
|
101
|
-
***
|
|
102
|
-
|
|
103
73
|
### bind()
|
|
104
74
|
|
|
105
75
|
> **bind**(`keyMap`, `callback`, `options`?): [`KeyboardManager`](KeyboardManager.md)
|
|
@@ -128,7 +98,7 @@ O objeto `KeyboardManager`
|
|
|
128
98
|
|
|
129
99
|
#### Source
|
|
130
100
|
|
|
131
|
-
src/utils/KeyboardManager/index.ts:
|
|
101
|
+
src/utils/KeyboardManager/index.ts:37
|
|
132
102
|
|
|
133
103
|
***
|
|
134
104
|
|
|
@@ -156,27 +126,7 @@ Retorna se todas as teclas modificadoras foram aplicadas
|
|
|
156
126
|
|
|
157
127
|
#### Source
|
|
158
128
|
|
|
159
|
-
src/utils/KeyboardManager/index.ts:
|
|
160
|
-
|
|
161
|
-
***
|
|
162
|
-
|
|
163
|
-
### findAllNestedShadowRoots()
|
|
164
|
-
|
|
165
|
-
> `private` **findAllNestedShadowRoots**(`element`, `results`): `ShadowRoot`[]
|
|
166
|
-
|
|
167
|
-
#### Parameters
|
|
168
|
-
|
|
169
|
-
• **element**: `Element` \| `Document` \| `HTMLElement` \| `ChildNode`
|
|
170
|
-
|
|
171
|
-
• **results**: `ShadowRoot`[]= `[]`
|
|
172
|
-
|
|
173
|
-
#### Returns
|
|
174
|
-
|
|
175
|
-
`ShadowRoot`[]
|
|
176
|
-
|
|
177
|
-
#### Source
|
|
178
|
-
|
|
179
|
-
src/utils/KeyboardManager/index.ts:35
|
|
129
|
+
src/utils/KeyboardManager/index.ts:166
|
|
180
130
|
|
|
181
131
|
***
|
|
182
132
|
|
|
@@ -210,7 +160,7 @@ O evento de teclado
|
|
|
210
160
|
|
|
211
161
|
#### Source
|
|
212
162
|
|
|
213
|
-
src/utils/KeyboardManager/index.ts:
|
|
163
|
+
src/utils/KeyboardManager/index.ts:113
|
|
214
164
|
|
|
215
165
|
***
|
|
216
166
|
|
|
@@ -238,27 +188,7 @@ Retorna se o evento de teclado foi disparado e as teclas modificadoras aplicadas
|
|
|
238
188
|
|
|
239
189
|
#### Source
|
|
240
190
|
|
|
241
|
-
src/utils/KeyboardManager/index.ts:
|
|
242
|
-
|
|
243
|
-
***
|
|
244
|
-
|
|
245
|
-
### removeEventListenerToNestedShadowRoots()
|
|
246
|
-
|
|
247
|
-
> `private` **removeEventListenerToNestedShadowRoots**(`event`, `callback`): `void`
|
|
248
|
-
|
|
249
|
-
#### Parameters
|
|
250
|
-
|
|
251
|
-
• **event**: `"keydown"` \| `"keyup"`
|
|
252
|
-
|
|
253
|
-
• **callback**: `VoidFunction`
|
|
254
|
-
|
|
255
|
-
#### Returns
|
|
256
|
-
|
|
257
|
-
`void`
|
|
258
|
-
|
|
259
|
-
#### Source
|
|
260
|
-
|
|
261
|
-
src/utils/KeyboardManager/index.ts:62
|
|
191
|
+
src/utils/KeyboardManager/index.ts:129
|
|
262
192
|
|
|
263
193
|
***
|
|
264
194
|
|
|
@@ -282,7 +212,7 @@ Chave de mapeamento de teclado.
|
|
|
282
212
|
|
|
283
213
|
#### Source
|
|
284
214
|
|
|
285
|
-
src/utils/KeyboardManager/index.ts:
|
|
215
|
+
src/utils/KeyboardManager/index.ts:73
|
|
286
216
|
|
|
287
217
|
***
|
|
288
218
|
|
|
@@ -308,4 +238,4 @@ Se o evento de teclado deve ser propagado
|
|
|
308
238
|
|
|
309
239
|
#### Source
|
|
310
240
|
|
|
311
|
-
src/utils/KeyboardManager/index.ts:
|
|
241
|
+
src/utils/KeyboardManager/index.ts:202
|