@sankhyalabs/core-docs 0.0.0-bugfix-ms-kb-86494.0 → 0.0.0-bugfix-dev-KB-77217.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 +79 -9
- 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:20
|
32
32
|
|
33
33
|
## Properties
|
34
34
|
|
@@ -38,7 +38,7 @@ src/utils/KeyboardManager/index.ts:19
|
|
38
38
|
|
39
39
|
#### Source
|
40
40
|
|
41
|
-
src/utils/KeyboardManager/index.ts:
|
41
|
+
src/utils/KeyboardManager/index.ts:13
|
42
42
|
|
43
43
|
***
|
44
44
|
|
@@ -50,6 +50,16 @@ src/utils/KeyboardManager/index.ts:12
|
|
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
|
+
|
53
63
|
## Accessors
|
54
64
|
|
55
65
|
### mappedKeys
|
@@ -66,10 +76,30 @@ chaves mapeadas com descrições
|
|
66
76
|
|
67
77
|
#### Source
|
68
78
|
|
69
|
-
src/utils/KeyboardManager/index.ts:
|
79
|
+
src/utils/KeyboardManager/index.ts:144
|
70
80
|
|
71
81
|
## Methods
|
72
82
|
|
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
|
+
|
73
103
|
### bind()
|
74
104
|
|
75
105
|
> **bind**(`keyMap`, `callback`, `options`?): [`KeyboardManager`](KeyboardManager.md)
|
@@ -98,7 +128,7 @@ O objeto `KeyboardManager`
|
|
98
128
|
|
99
129
|
#### Source
|
100
130
|
|
101
|
-
src/utils/KeyboardManager/index.ts:
|
131
|
+
src/utils/KeyboardManager/index.ts:76
|
102
132
|
|
103
133
|
***
|
104
134
|
|
@@ -126,7 +156,27 @@ Retorna se todas as teclas modificadoras foram aplicadas
|
|
126
156
|
|
127
157
|
#### Source
|
128
158
|
|
129
|
-
src/utils/KeyboardManager/index.ts:
|
159
|
+
src/utils/KeyboardManager/index.ts:213
|
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
|
130
180
|
|
131
181
|
***
|
132
182
|
|
@@ -160,7 +210,7 @@ O evento de teclado
|
|
160
210
|
|
161
211
|
#### Source
|
162
212
|
|
163
|
-
src/utils/KeyboardManager/index.ts:
|
213
|
+
src/utils/KeyboardManager/index.ts:160
|
164
214
|
|
165
215
|
***
|
166
216
|
|
@@ -188,7 +238,27 @@ Retorna se o evento de teclado foi disparado e as teclas modificadoras aplicadas
|
|
188
238
|
|
189
239
|
#### Source
|
190
240
|
|
191
|
-
src/utils/KeyboardManager/index.ts:
|
241
|
+
src/utils/KeyboardManager/index.ts:176
|
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
|
192
262
|
|
193
263
|
***
|
194
264
|
|
@@ -212,7 +282,7 @@ Chave de mapeamento de teclado.
|
|
212
282
|
|
213
283
|
#### Source
|
214
284
|
|
215
|
-
src/utils/KeyboardManager/index.ts:
|
285
|
+
src/utils/KeyboardManager/index.ts:116
|
216
286
|
|
217
287
|
***
|
218
288
|
|
@@ -238,4 +308,4 @@ Se o evento de teclado deve ser propagado
|
|
238
308
|
|
239
309
|
#### Source
|
240
310
|
|
241
|
-
src/utils/KeyboardManager/index.ts:
|
311
|
+
src/utils/KeyboardManager/index.ts:249
|