@staffbase/widget-sdk 3.4.0-beta.2 → 3.4.0-beta.6
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/base-block.d.ts +98 -0
- package/{index.d.ts → dist/base-block.js} +2 -11
- package/{lib/block-attributes.ts → dist/block-attributes.d.ts} +2 -3
- package/dist/block-attributes.js +13 -0
- package/dist/block-definition.d.ts +91 -0
- package/dist/block-definition.js +13 -0
- package/dist/block-element.d.ts +45 -0
- package/dist/block-element.js +13 -0
- package/{lib/block-factory.ts → dist/block-factory.d.ts} +2 -6
- package/dist/block-factory.js +13 -0
- package/{lib/external-block-definition.ts → dist/external-block-definition.d.ts} +15 -19
- package/dist/external-block-definition.js +13 -0
- package/{lib → dist}/global.d.ts +6 -9
- package/dist/global.js +13 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/{lib/widget-api-types.ts → dist/widget-api-types.d.ts} +85 -83
- package/dist/widget-api-types.js +21 -0
- package/{lib/widget-api.ts → dist/widget-api.d.ts} +12 -12
- package/dist/widget-api.js +13 -0
- package/docs/.nojekyll +1 -0
- package/docs/BaseBlock.md +5887 -0
- package/docs/BlockAttributes.md +21 -0
- package/docs/BlockDefinition.md +167 -0
- package/docs/BlockElement.md +103 -0
- package/docs/ColorTheme.md +97 -0
- package/docs/ExternalBlockDefinition.md +58 -0
- package/docs/Home.md +56 -30
- package/docs/IntegrationInformation.md +70 -0
- package/docs/IntegrationState.md +41 -0
- package/docs/IntegrationToken.md +30 -0
- package/docs/SBColors.md +639 -0
- package/docs/SBFileType.md +74 -0
- package/docs/SBImageEntity.md +74 -0
- package/docs/SBUserAvatar.md +52 -0
- package/docs/SBUserProfile.md +96 -0
- package/docs/UserListItem.md +52 -0
- package/docs/UserListRequestQuery.md +52 -0
- package/docs/UserListResponse.md +52 -0
- package/docs/WidgetApi.md +142 -0
- package/docs/_Sidebar.md +2 -19
- package/package.json +22 -17
- package/.commitlintrc.json +0 -28
- package/.github/CODEOWNERS +0 -1
- package/.github/workflows/ci.yaml +0 -61
- package/.github/workflows/dependency-update.yml +0 -24
- package/.husky/commit-msg +0 -6
- package/.releaserc +0 -38
- package/CHANGELOG.md +0 -248
- package/CONTRIBUTING.md +0 -10
- package/catalog-info.yaml +0 -11
- package/docs/Interface: BaseBlock.md +0 -3226
- package/docs/Interface: BlockAttributes.md +0 -11
- package/docs/Interface: BlockDefinition.md +0 -117
- package/docs/Interface: BlockElement.md +0 -89
- package/docs/Interface: ColorTheme.md +0 -52
- package/docs/Interface: ExternalBlockDefinition.md +0 -38
- package/docs/Interface: SBColors.md +0 -354
- package/docs/Interface: SBFileType.md +0 -39
- package/docs/Interface: SBImageEntity.md +0 -39
- package/docs/Interface: SBUserAvatar.md +0 -27
- package/docs/Interface: SBUserProfile.md +0 -51
- package/docs/Interface: UserListItem.md +0 -27
- package/docs/Interface: UserListRequestQuery.md +0 -27
- package/docs/Interface: UserListResponse.md +0 -27
- package/docs/Interface: WidgetApi.md +0 -75
- package/lib/base-block.ts +0 -117
- package/lib/block-definition.ts +0 -101
- package/lib/block-element.ts +0 -56
- package/tsconfig.json +0 -13
|
@@ -1,3226 +0,0 @@
|
|
|
1
|
-
# Interface: BaseBlock
|
|
2
|
-
|
|
3
|
-
Base class for custom widgets.
|
|
4
|
-
|
|
5
|
-
Should be used to extend other custom elements to render their content.
|
|
6
|
-
Provides common editing and render capabilities for Staffbase widgets.
|
|
7
|
-
|
|
8
|
-
## Hierarchy
|
|
9
|
-
|
|
10
|
-
* *HTMLElement*
|
|
11
|
-
|
|
12
|
-
↳ **BaseBlock**
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### ATTRIBUTE\_NODE
|
|
17
|
-
|
|
18
|
-
• `Readonly` **ATTRIBUTE\_NODE**: *number*
|
|
19
|
-
|
|
20
|
-
Inherited from: HTMLElement.ATTRIBUTE\_NODE
|
|
21
|
-
|
|
22
|
-
___
|
|
23
|
-
|
|
24
|
-
### CDATA\_SECTION\_NODE
|
|
25
|
-
|
|
26
|
-
• `Readonly` **CDATA\_SECTION\_NODE**: *number*
|
|
27
|
-
|
|
28
|
-
node is a CDATASection node.
|
|
29
|
-
|
|
30
|
-
Inherited from: HTMLElement.CDATA\_SECTION\_NODE
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
|
-
### COMMENT\_NODE
|
|
35
|
-
|
|
36
|
-
• `Readonly` **COMMENT\_NODE**: *number*
|
|
37
|
-
|
|
38
|
-
node is a Comment node.
|
|
39
|
-
|
|
40
|
-
Inherited from: HTMLElement.COMMENT\_NODE
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### DOCUMENT\_FRAGMENT\_NODE
|
|
45
|
-
|
|
46
|
-
• `Readonly` **DOCUMENT\_FRAGMENT\_NODE**: *number*
|
|
47
|
-
|
|
48
|
-
node is a DocumentFragment node.
|
|
49
|
-
|
|
50
|
-
Inherited from: HTMLElement.DOCUMENT\_FRAGMENT\_NODE
|
|
51
|
-
|
|
52
|
-
___
|
|
53
|
-
|
|
54
|
-
### DOCUMENT\_NODE
|
|
55
|
-
|
|
56
|
-
• `Readonly` **DOCUMENT\_NODE**: *number*
|
|
57
|
-
|
|
58
|
-
node is a document.
|
|
59
|
-
|
|
60
|
-
Inherited from: HTMLElement.DOCUMENT\_NODE
|
|
61
|
-
|
|
62
|
-
___
|
|
63
|
-
|
|
64
|
-
### DOCUMENT\_POSITION\_CONTAINED\_BY
|
|
65
|
-
|
|
66
|
-
• `Readonly` **DOCUMENT\_POSITION\_CONTAINED\_BY**: *number*
|
|
67
|
-
|
|
68
|
-
Set when other is a descendant of node.
|
|
69
|
-
|
|
70
|
-
Inherited from: HTMLElement.DOCUMENT\_POSITION\_CONTAINED\_BY
|
|
71
|
-
|
|
72
|
-
___
|
|
73
|
-
|
|
74
|
-
### DOCUMENT\_POSITION\_CONTAINS
|
|
75
|
-
|
|
76
|
-
• `Readonly` **DOCUMENT\_POSITION\_CONTAINS**: *number*
|
|
77
|
-
|
|
78
|
-
Set when other is an ancestor of node.
|
|
79
|
-
|
|
80
|
-
Inherited from: HTMLElement.DOCUMENT\_POSITION\_CONTAINS
|
|
81
|
-
|
|
82
|
-
___
|
|
83
|
-
|
|
84
|
-
### DOCUMENT\_POSITION\_DISCONNECTED
|
|
85
|
-
|
|
86
|
-
• `Readonly` **DOCUMENT\_POSITION\_DISCONNECTED**: *number*
|
|
87
|
-
|
|
88
|
-
Set when node and other are not in the same tree.
|
|
89
|
-
|
|
90
|
-
Inherited from: HTMLElement.DOCUMENT\_POSITION\_DISCONNECTED
|
|
91
|
-
|
|
92
|
-
___
|
|
93
|
-
|
|
94
|
-
### DOCUMENT\_POSITION\_FOLLOWING
|
|
95
|
-
|
|
96
|
-
• `Readonly` **DOCUMENT\_POSITION\_FOLLOWING**: *number*
|
|
97
|
-
|
|
98
|
-
Set when other is following node.
|
|
99
|
-
|
|
100
|
-
Inherited from: HTMLElement.DOCUMENT\_POSITION\_FOLLOWING
|
|
101
|
-
|
|
102
|
-
___
|
|
103
|
-
|
|
104
|
-
### DOCUMENT\_POSITION\_IMPLEMENTATION\_SPECIFIC
|
|
105
|
-
|
|
106
|
-
• `Readonly` **DOCUMENT\_POSITION\_IMPLEMENTATION\_SPECIFIC**: *number*
|
|
107
|
-
|
|
108
|
-
Inherited from: HTMLElement.DOCUMENT\_POSITION\_IMPLEMENTATION\_SPECIFIC
|
|
109
|
-
|
|
110
|
-
___
|
|
111
|
-
|
|
112
|
-
### DOCUMENT\_POSITION\_PRECEDING
|
|
113
|
-
|
|
114
|
-
• `Readonly` **DOCUMENT\_POSITION\_PRECEDING**: *number*
|
|
115
|
-
|
|
116
|
-
Set when other is preceding node.
|
|
117
|
-
|
|
118
|
-
Inherited from: HTMLElement.DOCUMENT\_POSITION\_PRECEDING
|
|
119
|
-
|
|
120
|
-
___
|
|
121
|
-
|
|
122
|
-
### DOCUMENT\_TYPE\_NODE
|
|
123
|
-
|
|
124
|
-
• `Readonly` **DOCUMENT\_TYPE\_NODE**: *number*
|
|
125
|
-
|
|
126
|
-
node is a doctype.
|
|
127
|
-
|
|
128
|
-
Inherited from: HTMLElement.DOCUMENT\_TYPE\_NODE
|
|
129
|
-
|
|
130
|
-
___
|
|
131
|
-
|
|
132
|
-
### ELEMENT\_NODE
|
|
133
|
-
|
|
134
|
-
• `Readonly` **ELEMENT\_NODE**: *number*
|
|
135
|
-
|
|
136
|
-
node is an element.
|
|
137
|
-
|
|
138
|
-
Inherited from: HTMLElement.ELEMENT\_NODE
|
|
139
|
-
|
|
140
|
-
___
|
|
141
|
-
|
|
142
|
-
### ENTITY\_NODE
|
|
143
|
-
|
|
144
|
-
• `Readonly` **ENTITY\_NODE**: *number*
|
|
145
|
-
|
|
146
|
-
Inherited from: HTMLElement.ENTITY\_NODE
|
|
147
|
-
|
|
148
|
-
___
|
|
149
|
-
|
|
150
|
-
### ENTITY\_REFERENCE\_NODE
|
|
151
|
-
|
|
152
|
-
• `Readonly` **ENTITY\_REFERENCE\_NODE**: *number*
|
|
153
|
-
|
|
154
|
-
Inherited from: HTMLElement.ENTITY\_REFERENCE\_NODE
|
|
155
|
-
|
|
156
|
-
___
|
|
157
|
-
|
|
158
|
-
### NOTATION\_NODE
|
|
159
|
-
|
|
160
|
-
• `Readonly` **NOTATION\_NODE**: *number*
|
|
161
|
-
|
|
162
|
-
Inherited from: HTMLElement.NOTATION\_NODE
|
|
163
|
-
|
|
164
|
-
___
|
|
165
|
-
|
|
166
|
-
### PROCESSING\_INSTRUCTION\_NODE
|
|
167
|
-
|
|
168
|
-
• `Readonly` **PROCESSING\_INSTRUCTION\_NODE**: *number*
|
|
169
|
-
|
|
170
|
-
node is a ProcessingInstruction node.
|
|
171
|
-
|
|
172
|
-
Inherited from: HTMLElement.PROCESSING\_INSTRUCTION\_NODE
|
|
173
|
-
|
|
174
|
-
___
|
|
175
|
-
|
|
176
|
-
### TEXT\_NODE
|
|
177
|
-
|
|
178
|
-
• `Readonly` **TEXT\_NODE**: *number*
|
|
179
|
-
|
|
180
|
-
node is a Text node.
|
|
181
|
-
|
|
182
|
-
Inherited from: HTMLElement.TEXT\_NODE
|
|
183
|
-
|
|
184
|
-
___
|
|
185
|
-
|
|
186
|
-
### accessKey
|
|
187
|
-
|
|
188
|
-
• **accessKey**: *string*
|
|
189
|
-
|
|
190
|
-
Inherited from: HTMLElement.accessKey
|
|
191
|
-
|
|
192
|
-
___
|
|
193
|
-
|
|
194
|
-
### accessKeyLabel
|
|
195
|
-
|
|
196
|
-
• `Readonly` **accessKeyLabel**: *string*
|
|
197
|
-
|
|
198
|
-
Inherited from: HTMLElement.accessKeyLabel
|
|
199
|
-
|
|
200
|
-
___
|
|
201
|
-
|
|
202
|
-
### assignedSlot
|
|
203
|
-
|
|
204
|
-
• `Readonly` **assignedSlot**: ``null`` \| HTMLSlotElement
|
|
205
|
-
|
|
206
|
-
Inherited from: HTMLElement.assignedSlot
|
|
207
|
-
|
|
208
|
-
___
|
|
209
|
-
|
|
210
|
-
### attributes
|
|
211
|
-
|
|
212
|
-
• `Readonly` **attributes**: NamedNodeMap
|
|
213
|
-
|
|
214
|
-
Inherited from: HTMLElement.attributes
|
|
215
|
-
|
|
216
|
-
___
|
|
217
|
-
|
|
218
|
-
### autocapitalize
|
|
219
|
-
|
|
220
|
-
• **autocapitalize**: *string*
|
|
221
|
-
|
|
222
|
-
Inherited from: HTMLElement.autocapitalize
|
|
223
|
-
|
|
224
|
-
___
|
|
225
|
-
|
|
226
|
-
### autofocus
|
|
227
|
-
|
|
228
|
-
• **autofocus**: *boolean*
|
|
229
|
-
|
|
230
|
-
Inherited from: HTMLElement.autofocus
|
|
231
|
-
|
|
232
|
-
___
|
|
233
|
-
|
|
234
|
-
### baseURI
|
|
235
|
-
|
|
236
|
-
• `Readonly` **baseURI**: *string*
|
|
237
|
-
|
|
238
|
-
Returns node's node document's document base URL.
|
|
239
|
-
|
|
240
|
-
Inherited from: HTMLElement.baseURI
|
|
241
|
-
|
|
242
|
-
___
|
|
243
|
-
|
|
244
|
-
### childElementCount
|
|
245
|
-
|
|
246
|
-
• `Readonly` **childElementCount**: *number*
|
|
247
|
-
|
|
248
|
-
Inherited from: HTMLElement.childElementCount
|
|
249
|
-
|
|
250
|
-
___
|
|
251
|
-
|
|
252
|
-
### childNodes
|
|
253
|
-
|
|
254
|
-
• `Readonly` **childNodes**: *NodeListOf*<ChildNode\>
|
|
255
|
-
|
|
256
|
-
Returns the children.
|
|
257
|
-
|
|
258
|
-
Inherited from: HTMLElement.childNodes
|
|
259
|
-
|
|
260
|
-
___
|
|
261
|
-
|
|
262
|
-
### children
|
|
263
|
-
|
|
264
|
-
• `Readonly` **children**: HTMLCollection
|
|
265
|
-
|
|
266
|
-
Returns the child elements.
|
|
267
|
-
|
|
268
|
-
Inherited from: HTMLElement.children
|
|
269
|
-
|
|
270
|
-
___
|
|
271
|
-
|
|
272
|
-
### classList
|
|
273
|
-
|
|
274
|
-
• `Readonly` **classList**: DOMTokenList
|
|
275
|
-
|
|
276
|
-
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
|
|
277
|
-
|
|
278
|
-
Inherited from: HTMLElement.classList
|
|
279
|
-
|
|
280
|
-
___
|
|
281
|
-
|
|
282
|
-
### className
|
|
283
|
-
|
|
284
|
-
• **className**: *string*
|
|
285
|
-
|
|
286
|
-
Returns the value of element's class content attribute. Can be set to change it.
|
|
287
|
-
|
|
288
|
-
Inherited from: HTMLElement.className
|
|
289
|
-
|
|
290
|
-
___
|
|
291
|
-
|
|
292
|
-
### clientHeight
|
|
293
|
-
|
|
294
|
-
• `Readonly` **clientHeight**: *number*
|
|
295
|
-
|
|
296
|
-
Inherited from: HTMLElement.clientHeight
|
|
297
|
-
|
|
298
|
-
___
|
|
299
|
-
|
|
300
|
-
### clientLeft
|
|
301
|
-
|
|
302
|
-
• `Readonly` **clientLeft**: *number*
|
|
303
|
-
|
|
304
|
-
Inherited from: HTMLElement.clientLeft
|
|
305
|
-
|
|
306
|
-
___
|
|
307
|
-
|
|
308
|
-
### clientTop
|
|
309
|
-
|
|
310
|
-
• `Readonly` **clientTop**: *number*
|
|
311
|
-
|
|
312
|
-
Inherited from: HTMLElement.clientTop
|
|
313
|
-
|
|
314
|
-
___
|
|
315
|
-
|
|
316
|
-
### clientWidth
|
|
317
|
-
|
|
318
|
-
• `Readonly` **clientWidth**: *number*
|
|
319
|
-
|
|
320
|
-
Inherited from: HTMLElement.clientWidth
|
|
321
|
-
|
|
322
|
-
___
|
|
323
|
-
|
|
324
|
-
### contentEditable
|
|
325
|
-
|
|
326
|
-
• **contentEditable**: *string*
|
|
327
|
-
|
|
328
|
-
Inherited from: HTMLElement.contentEditable
|
|
329
|
-
|
|
330
|
-
___
|
|
331
|
-
|
|
332
|
-
### contentLanguage
|
|
333
|
-
|
|
334
|
-
• **contentLanguage**: *string*
|
|
335
|
-
|
|
336
|
-
The content language as defined in the hosting system. Should be used to provide
|
|
337
|
-
the correct localization in the widget.
|
|
338
|
-
|
|
339
|
-
NOTE: This is not necessarily the same as the UI language, which is defined by the browser.
|
|
340
|
-
When a widget is added to a specific content, the content-language attribute gets automatically set
|
|
341
|
-
to that language.
|
|
342
|
-
|
|
343
|
-
___
|
|
344
|
-
|
|
345
|
-
### dataset
|
|
346
|
-
|
|
347
|
-
• `Readonly` **dataset**: DOMStringMap
|
|
348
|
-
|
|
349
|
-
Inherited from: HTMLElement.dataset
|
|
350
|
-
|
|
351
|
-
___
|
|
352
|
-
|
|
353
|
-
### dir
|
|
354
|
-
|
|
355
|
-
• **dir**: *string*
|
|
356
|
-
|
|
357
|
-
Inherited from: HTMLElement.dir
|
|
358
|
-
|
|
359
|
-
___
|
|
360
|
-
|
|
361
|
-
### draggable
|
|
362
|
-
|
|
363
|
-
• **draggable**: *boolean*
|
|
364
|
-
|
|
365
|
-
Inherited from: HTMLElement.draggable
|
|
366
|
-
|
|
367
|
-
___
|
|
368
|
-
|
|
369
|
-
### enterKeyHint
|
|
370
|
-
|
|
371
|
-
• **enterKeyHint**: *string*
|
|
372
|
-
|
|
373
|
-
Inherited from: HTMLElement.enterKeyHint
|
|
374
|
-
|
|
375
|
-
___
|
|
376
|
-
|
|
377
|
-
### firstChild
|
|
378
|
-
|
|
379
|
-
• `Readonly` **firstChild**: ``null`` \| ChildNode
|
|
380
|
-
|
|
381
|
-
Returns the first child.
|
|
382
|
-
|
|
383
|
-
Inherited from: HTMLElement.firstChild
|
|
384
|
-
|
|
385
|
-
___
|
|
386
|
-
|
|
387
|
-
### firstElementChild
|
|
388
|
-
|
|
389
|
-
• `Readonly` **firstElementChild**: ``null`` \| Element
|
|
390
|
-
|
|
391
|
-
Returns the first child that is an element, and null otherwise.
|
|
392
|
-
|
|
393
|
-
Inherited from: HTMLElement.firstElementChild
|
|
394
|
-
|
|
395
|
-
___
|
|
396
|
-
|
|
397
|
-
### hidden
|
|
398
|
-
|
|
399
|
-
• **hidden**: *boolean*
|
|
400
|
-
|
|
401
|
-
Inherited from: HTMLElement.hidden
|
|
402
|
-
|
|
403
|
-
___
|
|
404
|
-
|
|
405
|
-
### id
|
|
406
|
-
|
|
407
|
-
• **id**: *string*
|
|
408
|
-
|
|
409
|
-
Returns the value of element's id content attribute. Can be set to change it.
|
|
410
|
-
|
|
411
|
-
Inherited from: HTMLElement.id
|
|
412
|
-
|
|
413
|
-
___
|
|
414
|
-
|
|
415
|
-
### innerHTML
|
|
416
|
-
|
|
417
|
-
• **innerHTML**: *string*
|
|
418
|
-
|
|
419
|
-
Inherited from: HTMLElement.innerHTML
|
|
420
|
-
|
|
421
|
-
___
|
|
422
|
-
|
|
423
|
-
### innerText
|
|
424
|
-
|
|
425
|
-
• **innerText**: *string*
|
|
426
|
-
|
|
427
|
-
Inherited from: HTMLElement.innerText
|
|
428
|
-
|
|
429
|
-
___
|
|
430
|
-
|
|
431
|
-
### inputMode
|
|
432
|
-
|
|
433
|
-
• **inputMode**: *string*
|
|
434
|
-
|
|
435
|
-
Inherited from: HTMLElement.inputMode
|
|
436
|
-
|
|
437
|
-
___
|
|
438
|
-
|
|
439
|
-
### isConnected
|
|
440
|
-
|
|
441
|
-
• `Readonly` **isConnected**: *boolean*
|
|
442
|
-
|
|
443
|
-
Returns true if node is connected and false otherwise.
|
|
444
|
-
|
|
445
|
-
Inherited from: HTMLElement.isConnected
|
|
446
|
-
|
|
447
|
-
___
|
|
448
|
-
|
|
449
|
-
### isContentEditable
|
|
450
|
-
|
|
451
|
-
• `Readonly` **isContentEditable**: *boolean*
|
|
452
|
-
|
|
453
|
-
Inherited from: HTMLElement.isContentEditable
|
|
454
|
-
|
|
455
|
-
___
|
|
456
|
-
|
|
457
|
-
### lang
|
|
458
|
-
|
|
459
|
-
• **lang**: *string*
|
|
460
|
-
|
|
461
|
-
Inherited from: HTMLElement.lang
|
|
462
|
-
|
|
463
|
-
___
|
|
464
|
-
|
|
465
|
-
### lastChild
|
|
466
|
-
|
|
467
|
-
• `Readonly` **lastChild**: ``null`` \| ChildNode
|
|
468
|
-
|
|
469
|
-
Returns the last child.
|
|
470
|
-
|
|
471
|
-
Inherited from: HTMLElement.lastChild
|
|
472
|
-
|
|
473
|
-
___
|
|
474
|
-
|
|
475
|
-
### lastElementChild
|
|
476
|
-
|
|
477
|
-
• `Readonly` **lastElementChild**: ``null`` \| Element
|
|
478
|
-
|
|
479
|
-
Returns the last child that is an element, and null otherwise.
|
|
480
|
-
|
|
481
|
-
Inherited from: HTMLElement.lastElementChild
|
|
482
|
-
|
|
483
|
-
___
|
|
484
|
-
|
|
485
|
-
### localName
|
|
486
|
-
|
|
487
|
-
• `Readonly` **localName**: *string*
|
|
488
|
-
|
|
489
|
-
Returns the local name.
|
|
490
|
-
|
|
491
|
-
Inherited from: HTMLElement.localName
|
|
492
|
-
|
|
493
|
-
___
|
|
494
|
-
|
|
495
|
-
### namespaceURI
|
|
496
|
-
|
|
497
|
-
• `Readonly` **namespaceURI**: ``null`` \| *string*
|
|
498
|
-
|
|
499
|
-
Returns the namespace.
|
|
500
|
-
|
|
501
|
-
Inherited from: HTMLElement.namespaceURI
|
|
502
|
-
|
|
503
|
-
___
|
|
504
|
-
|
|
505
|
-
### nextElementSibling
|
|
506
|
-
|
|
507
|
-
• `Readonly` **nextElementSibling**: ``null`` \| Element
|
|
508
|
-
|
|
509
|
-
Returns the first following sibling that is an element, and null otherwise.
|
|
510
|
-
|
|
511
|
-
Inherited from: HTMLElement.nextElementSibling
|
|
512
|
-
|
|
513
|
-
___
|
|
514
|
-
|
|
515
|
-
### nextSibling
|
|
516
|
-
|
|
517
|
-
• `Readonly` **nextSibling**: ``null`` \| ChildNode
|
|
518
|
-
|
|
519
|
-
Returns the next sibling.
|
|
520
|
-
|
|
521
|
-
Inherited from: HTMLElement.nextSibling
|
|
522
|
-
|
|
523
|
-
___
|
|
524
|
-
|
|
525
|
-
### nodeName
|
|
526
|
-
|
|
527
|
-
• `Readonly` **nodeName**: *string*
|
|
528
|
-
|
|
529
|
-
Returns a string appropriate for the type of node.
|
|
530
|
-
|
|
531
|
-
Inherited from: HTMLElement.nodeName
|
|
532
|
-
|
|
533
|
-
___
|
|
534
|
-
|
|
535
|
-
### nodeType
|
|
536
|
-
|
|
537
|
-
• `Readonly` **nodeType**: *number*
|
|
538
|
-
|
|
539
|
-
Returns the type of node.
|
|
540
|
-
|
|
541
|
-
Inherited from: HTMLElement.nodeType
|
|
542
|
-
|
|
543
|
-
___
|
|
544
|
-
|
|
545
|
-
### nodeValue
|
|
546
|
-
|
|
547
|
-
• **nodeValue**: ``null`` \| *string*
|
|
548
|
-
|
|
549
|
-
Inherited from: HTMLElement.nodeValue
|
|
550
|
-
|
|
551
|
-
___
|
|
552
|
-
|
|
553
|
-
### nonce
|
|
554
|
-
|
|
555
|
-
• `Optional` **nonce**: *string*
|
|
556
|
-
|
|
557
|
-
Inherited from: HTMLElement.nonce
|
|
558
|
-
|
|
559
|
-
___
|
|
560
|
-
|
|
561
|
-
### offsetHeight
|
|
562
|
-
|
|
563
|
-
• `Readonly` **offsetHeight**: *number*
|
|
564
|
-
|
|
565
|
-
Inherited from: HTMLElement.offsetHeight
|
|
566
|
-
|
|
567
|
-
___
|
|
568
|
-
|
|
569
|
-
### offsetLeft
|
|
570
|
-
|
|
571
|
-
• `Readonly` **offsetLeft**: *number*
|
|
572
|
-
|
|
573
|
-
Inherited from: HTMLElement.offsetLeft
|
|
574
|
-
|
|
575
|
-
___
|
|
576
|
-
|
|
577
|
-
### offsetParent
|
|
578
|
-
|
|
579
|
-
• `Readonly` **offsetParent**: ``null`` \| Element
|
|
580
|
-
|
|
581
|
-
Inherited from: HTMLElement.offsetParent
|
|
582
|
-
|
|
583
|
-
___
|
|
584
|
-
|
|
585
|
-
### offsetTop
|
|
586
|
-
|
|
587
|
-
• `Readonly` **offsetTop**: *number*
|
|
588
|
-
|
|
589
|
-
Inherited from: HTMLElement.offsetTop
|
|
590
|
-
|
|
591
|
-
___
|
|
592
|
-
|
|
593
|
-
### offsetWidth
|
|
594
|
-
|
|
595
|
-
• `Readonly` **offsetWidth**: *number*
|
|
596
|
-
|
|
597
|
-
Inherited from: HTMLElement.offsetWidth
|
|
598
|
-
|
|
599
|
-
___
|
|
600
|
-
|
|
601
|
-
### onabort
|
|
602
|
-
|
|
603
|
-
• **onabort**: ``null`` \| (`ev`: UIEvent) => *any*
|
|
604
|
-
|
|
605
|
-
Fires when the user aborts the download.
|
|
606
|
-
|
|
607
|
-
**`param`** The event.
|
|
608
|
-
|
|
609
|
-
Inherited from: HTMLElement.onabort
|
|
610
|
-
|
|
611
|
-
___
|
|
612
|
-
|
|
613
|
-
### onanimationcancel
|
|
614
|
-
|
|
615
|
-
• **onanimationcancel**: ``null`` \| (`ev`: AnimationEvent) => *any*
|
|
616
|
-
|
|
617
|
-
Inherited from: HTMLElement.onanimationcancel
|
|
618
|
-
|
|
619
|
-
___
|
|
620
|
-
|
|
621
|
-
### onanimationend
|
|
622
|
-
|
|
623
|
-
• **onanimationend**: ``null`` \| (`ev`: AnimationEvent) => *any*
|
|
624
|
-
|
|
625
|
-
Inherited from: HTMLElement.onanimationend
|
|
626
|
-
|
|
627
|
-
___
|
|
628
|
-
|
|
629
|
-
### onanimationiteration
|
|
630
|
-
|
|
631
|
-
• **onanimationiteration**: ``null`` \| (`ev`: AnimationEvent) => *any*
|
|
632
|
-
|
|
633
|
-
Inherited from: HTMLElement.onanimationiteration
|
|
634
|
-
|
|
635
|
-
___
|
|
636
|
-
|
|
637
|
-
### onanimationstart
|
|
638
|
-
|
|
639
|
-
• **onanimationstart**: ``null`` \| (`ev`: AnimationEvent) => *any*
|
|
640
|
-
|
|
641
|
-
Inherited from: HTMLElement.onanimationstart
|
|
642
|
-
|
|
643
|
-
___
|
|
644
|
-
|
|
645
|
-
### onauxclick
|
|
646
|
-
|
|
647
|
-
• **onauxclick**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
648
|
-
|
|
649
|
-
Inherited from: HTMLElement.onauxclick
|
|
650
|
-
|
|
651
|
-
___
|
|
652
|
-
|
|
653
|
-
### onblur
|
|
654
|
-
|
|
655
|
-
• **onblur**: ``null`` \| (`ev`: FocusEvent) => *any*
|
|
656
|
-
|
|
657
|
-
Fires when the object loses the input focus.
|
|
658
|
-
|
|
659
|
-
**`param`** The focus event.
|
|
660
|
-
|
|
661
|
-
Inherited from: HTMLElement.onblur
|
|
662
|
-
|
|
663
|
-
___
|
|
664
|
-
|
|
665
|
-
### oncancel
|
|
666
|
-
|
|
667
|
-
• **oncancel**: ``null`` \| (`ev`: Event) => *any*
|
|
668
|
-
|
|
669
|
-
Inherited from: HTMLElement.oncancel
|
|
670
|
-
|
|
671
|
-
___
|
|
672
|
-
|
|
673
|
-
### oncanplay
|
|
674
|
-
|
|
675
|
-
• **oncanplay**: ``null`` \| (`ev`: Event) => *any*
|
|
676
|
-
|
|
677
|
-
Occurs when playback is possible, but would require further buffering.
|
|
678
|
-
|
|
679
|
-
**`param`** The event.
|
|
680
|
-
|
|
681
|
-
Inherited from: HTMLElement.oncanplay
|
|
682
|
-
|
|
683
|
-
___
|
|
684
|
-
|
|
685
|
-
### oncanplaythrough
|
|
686
|
-
|
|
687
|
-
• **oncanplaythrough**: ``null`` \| (`ev`: Event) => *any*
|
|
688
|
-
|
|
689
|
-
Inherited from: HTMLElement.oncanplaythrough
|
|
690
|
-
|
|
691
|
-
___
|
|
692
|
-
|
|
693
|
-
### onchange
|
|
694
|
-
|
|
695
|
-
• **onchange**: ``null`` \| (`ev`: Event) => *any*
|
|
696
|
-
|
|
697
|
-
Fires when the contents of the object or selection have changed.
|
|
698
|
-
|
|
699
|
-
**`param`** The event.
|
|
700
|
-
|
|
701
|
-
Inherited from: HTMLElement.onchange
|
|
702
|
-
|
|
703
|
-
___
|
|
704
|
-
|
|
705
|
-
### onclick
|
|
706
|
-
|
|
707
|
-
• **onclick**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
708
|
-
|
|
709
|
-
Fires when the user clicks the left mouse button on the object
|
|
710
|
-
|
|
711
|
-
**`param`** The mouse event.
|
|
712
|
-
|
|
713
|
-
Inherited from: HTMLElement.onclick
|
|
714
|
-
|
|
715
|
-
___
|
|
716
|
-
|
|
717
|
-
### onclose
|
|
718
|
-
|
|
719
|
-
• **onclose**: ``null`` \| (`ev`: Event) => *any*
|
|
720
|
-
|
|
721
|
-
Inherited from: HTMLElement.onclose
|
|
722
|
-
|
|
723
|
-
___
|
|
724
|
-
|
|
725
|
-
### oncontextmenu
|
|
726
|
-
|
|
727
|
-
• **oncontextmenu**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
728
|
-
|
|
729
|
-
Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
|
730
|
-
|
|
731
|
-
**`param`** The mouse event.
|
|
732
|
-
|
|
733
|
-
Inherited from: HTMLElement.oncontextmenu
|
|
734
|
-
|
|
735
|
-
___
|
|
736
|
-
|
|
737
|
-
### oncopy
|
|
738
|
-
|
|
739
|
-
• **oncopy**: ``null`` \| (`ev`: ClipboardEvent) => *any*
|
|
740
|
-
|
|
741
|
-
Inherited from: HTMLElement.oncopy
|
|
742
|
-
|
|
743
|
-
___
|
|
744
|
-
|
|
745
|
-
### oncuechange
|
|
746
|
-
|
|
747
|
-
• **oncuechange**: ``null`` \| (`ev`: Event) => *any*
|
|
748
|
-
|
|
749
|
-
Inherited from: HTMLElement.oncuechange
|
|
750
|
-
|
|
751
|
-
___
|
|
752
|
-
|
|
753
|
-
### oncut
|
|
754
|
-
|
|
755
|
-
• **oncut**: ``null`` \| (`ev`: ClipboardEvent) => *any*
|
|
756
|
-
|
|
757
|
-
Inherited from: HTMLElement.oncut
|
|
758
|
-
|
|
759
|
-
___
|
|
760
|
-
|
|
761
|
-
### ondblclick
|
|
762
|
-
|
|
763
|
-
• **ondblclick**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
764
|
-
|
|
765
|
-
Fires when the user double-clicks the object.
|
|
766
|
-
|
|
767
|
-
**`param`** The mouse event.
|
|
768
|
-
|
|
769
|
-
Inherited from: HTMLElement.ondblclick
|
|
770
|
-
|
|
771
|
-
___
|
|
772
|
-
|
|
773
|
-
### ondrag
|
|
774
|
-
|
|
775
|
-
• **ondrag**: ``null`` \| (`ev`: DragEvent) => *any*
|
|
776
|
-
|
|
777
|
-
Fires on the source object continuously during a drag operation.
|
|
778
|
-
|
|
779
|
-
**`param`** The event.
|
|
780
|
-
|
|
781
|
-
Inherited from: HTMLElement.ondrag
|
|
782
|
-
|
|
783
|
-
___
|
|
784
|
-
|
|
785
|
-
### ondragend
|
|
786
|
-
|
|
787
|
-
• **ondragend**: ``null`` \| (`ev`: DragEvent) => *any*
|
|
788
|
-
|
|
789
|
-
Fires on the source object when the user releases the mouse at the close of a drag operation.
|
|
790
|
-
|
|
791
|
-
**`param`** The event.
|
|
792
|
-
|
|
793
|
-
Inherited from: HTMLElement.ondragend
|
|
794
|
-
|
|
795
|
-
___
|
|
796
|
-
|
|
797
|
-
### ondragenter
|
|
798
|
-
|
|
799
|
-
• **ondragenter**: ``null`` \| (`ev`: DragEvent) => *any*
|
|
800
|
-
|
|
801
|
-
Fires on the target element when the user drags the object to a valid drop target.
|
|
802
|
-
|
|
803
|
-
**`param`** The drag event.
|
|
804
|
-
|
|
805
|
-
Inherited from: HTMLElement.ondragenter
|
|
806
|
-
|
|
807
|
-
___
|
|
808
|
-
|
|
809
|
-
### ondragexit
|
|
810
|
-
|
|
811
|
-
• **ondragexit**: ``null`` \| (`ev`: Event) => *any*
|
|
812
|
-
|
|
813
|
-
Inherited from: HTMLElement.ondragexit
|
|
814
|
-
|
|
815
|
-
___
|
|
816
|
-
|
|
817
|
-
### ondragleave
|
|
818
|
-
|
|
819
|
-
• **ondragleave**: ``null`` \| (`ev`: DragEvent) => *any*
|
|
820
|
-
|
|
821
|
-
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
|
|
822
|
-
|
|
823
|
-
**`param`** The drag event.
|
|
824
|
-
|
|
825
|
-
Inherited from: HTMLElement.ondragleave
|
|
826
|
-
|
|
827
|
-
___
|
|
828
|
-
|
|
829
|
-
### ondragover
|
|
830
|
-
|
|
831
|
-
• **ondragover**: ``null`` \| (`ev`: DragEvent) => *any*
|
|
832
|
-
|
|
833
|
-
Fires on the target element continuously while the user drags the object over a valid drop target.
|
|
834
|
-
|
|
835
|
-
**`param`** The event.
|
|
836
|
-
|
|
837
|
-
Inherited from: HTMLElement.ondragover
|
|
838
|
-
|
|
839
|
-
___
|
|
840
|
-
|
|
841
|
-
### ondragstart
|
|
842
|
-
|
|
843
|
-
• **ondragstart**: ``null`` \| (`ev`: DragEvent) => *any*
|
|
844
|
-
|
|
845
|
-
Fires on the source object when the user starts to drag a text selection or selected object.
|
|
846
|
-
|
|
847
|
-
**`param`** The event.
|
|
848
|
-
|
|
849
|
-
Inherited from: HTMLElement.ondragstart
|
|
850
|
-
|
|
851
|
-
___
|
|
852
|
-
|
|
853
|
-
### ondrop
|
|
854
|
-
|
|
855
|
-
• **ondrop**: ``null`` \| (`ev`: DragEvent) => *any*
|
|
856
|
-
|
|
857
|
-
Inherited from: HTMLElement.ondrop
|
|
858
|
-
|
|
859
|
-
___
|
|
860
|
-
|
|
861
|
-
### ondurationchange
|
|
862
|
-
|
|
863
|
-
• **ondurationchange**: ``null`` \| (`ev`: Event) => *any*
|
|
864
|
-
|
|
865
|
-
Occurs when the duration attribute is updated.
|
|
866
|
-
|
|
867
|
-
**`param`** The event.
|
|
868
|
-
|
|
869
|
-
Inherited from: HTMLElement.ondurationchange
|
|
870
|
-
|
|
871
|
-
___
|
|
872
|
-
|
|
873
|
-
### onemptied
|
|
874
|
-
|
|
875
|
-
• **onemptied**: ``null`` \| (`ev`: Event) => *any*
|
|
876
|
-
|
|
877
|
-
Occurs when the media element is reset to its initial state.
|
|
878
|
-
|
|
879
|
-
**`param`** The event.
|
|
880
|
-
|
|
881
|
-
Inherited from: HTMLElement.onemptied
|
|
882
|
-
|
|
883
|
-
___
|
|
884
|
-
|
|
885
|
-
### onended
|
|
886
|
-
|
|
887
|
-
• **onended**: ``null`` \| (`ev`: Event) => *any*
|
|
888
|
-
|
|
889
|
-
Occurs when the end of playback is reached.
|
|
890
|
-
|
|
891
|
-
**`param`** The event
|
|
892
|
-
|
|
893
|
-
Inherited from: HTMLElement.onended
|
|
894
|
-
|
|
895
|
-
___
|
|
896
|
-
|
|
897
|
-
### onerror
|
|
898
|
-
|
|
899
|
-
• **onerror**: OnErrorEventHandler
|
|
900
|
-
|
|
901
|
-
Fires when an error occurs during object loading.
|
|
902
|
-
|
|
903
|
-
**`param`** The event.
|
|
904
|
-
|
|
905
|
-
Inherited from: HTMLElement.onerror
|
|
906
|
-
|
|
907
|
-
___
|
|
908
|
-
|
|
909
|
-
### onfocus
|
|
910
|
-
|
|
911
|
-
• **onfocus**: ``null`` \| (`ev`: FocusEvent) => *any*
|
|
912
|
-
|
|
913
|
-
Fires when the object receives focus.
|
|
914
|
-
|
|
915
|
-
**`param`** The event.
|
|
916
|
-
|
|
917
|
-
Inherited from: HTMLElement.onfocus
|
|
918
|
-
|
|
919
|
-
___
|
|
920
|
-
|
|
921
|
-
### onfullscreenchange
|
|
922
|
-
|
|
923
|
-
• **onfullscreenchange**: ``null`` \| (`ev`: Event) => *any*
|
|
924
|
-
|
|
925
|
-
Inherited from: HTMLElement.onfullscreenchange
|
|
926
|
-
|
|
927
|
-
___
|
|
928
|
-
|
|
929
|
-
### onfullscreenerror
|
|
930
|
-
|
|
931
|
-
• **onfullscreenerror**: ``null`` \| (`ev`: Event) => *any*
|
|
932
|
-
|
|
933
|
-
Inherited from: HTMLElement.onfullscreenerror
|
|
934
|
-
|
|
935
|
-
___
|
|
936
|
-
|
|
937
|
-
### ongotpointercapture
|
|
938
|
-
|
|
939
|
-
• **ongotpointercapture**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
940
|
-
|
|
941
|
-
Inherited from: HTMLElement.ongotpointercapture
|
|
942
|
-
|
|
943
|
-
___
|
|
944
|
-
|
|
945
|
-
### oninput
|
|
946
|
-
|
|
947
|
-
• **oninput**: ``null`` \| (`ev`: Event) => *any*
|
|
948
|
-
|
|
949
|
-
Inherited from: HTMLElement.oninput
|
|
950
|
-
|
|
951
|
-
___
|
|
952
|
-
|
|
953
|
-
### oninvalid
|
|
954
|
-
|
|
955
|
-
• **oninvalid**: ``null`` \| (`ev`: Event) => *any*
|
|
956
|
-
|
|
957
|
-
Inherited from: HTMLElement.oninvalid
|
|
958
|
-
|
|
959
|
-
___
|
|
960
|
-
|
|
961
|
-
### onkeydown
|
|
962
|
-
|
|
963
|
-
• **onkeydown**: ``null`` \| (`ev`: KeyboardEvent) => *any*
|
|
964
|
-
|
|
965
|
-
Fires when the user presses a key.
|
|
966
|
-
|
|
967
|
-
**`param`** The keyboard event
|
|
968
|
-
|
|
969
|
-
Inherited from: HTMLElement.onkeydown
|
|
970
|
-
|
|
971
|
-
___
|
|
972
|
-
|
|
973
|
-
### onkeypress
|
|
974
|
-
|
|
975
|
-
• **onkeypress**: ``null`` \| (`ev`: KeyboardEvent) => *any*
|
|
976
|
-
|
|
977
|
-
Fires when the user presses an alphanumeric key.
|
|
978
|
-
|
|
979
|
-
**`param`** The event.
|
|
980
|
-
|
|
981
|
-
Inherited from: HTMLElement.onkeypress
|
|
982
|
-
|
|
983
|
-
___
|
|
984
|
-
|
|
985
|
-
### onkeyup
|
|
986
|
-
|
|
987
|
-
• **onkeyup**: ``null`` \| (`ev`: KeyboardEvent) => *any*
|
|
988
|
-
|
|
989
|
-
Fires when the user releases a key.
|
|
990
|
-
|
|
991
|
-
**`param`** The keyboard event
|
|
992
|
-
|
|
993
|
-
Inherited from: HTMLElement.onkeyup
|
|
994
|
-
|
|
995
|
-
___
|
|
996
|
-
|
|
997
|
-
### onload
|
|
998
|
-
|
|
999
|
-
• **onload**: ``null`` \| (`ev`: Event) => *any*
|
|
1000
|
-
|
|
1001
|
-
Fires immediately after the browser loads the object.
|
|
1002
|
-
|
|
1003
|
-
**`param`** The event.
|
|
1004
|
-
|
|
1005
|
-
Inherited from: HTMLElement.onload
|
|
1006
|
-
|
|
1007
|
-
___
|
|
1008
|
-
|
|
1009
|
-
### onloadeddata
|
|
1010
|
-
|
|
1011
|
-
• **onloadeddata**: ``null`` \| (`ev`: Event) => *any*
|
|
1012
|
-
|
|
1013
|
-
Occurs when media data is loaded at the current playback position.
|
|
1014
|
-
|
|
1015
|
-
**`param`** The event.
|
|
1016
|
-
|
|
1017
|
-
Inherited from: HTMLElement.onloadeddata
|
|
1018
|
-
|
|
1019
|
-
___
|
|
1020
|
-
|
|
1021
|
-
### onloadedmetadata
|
|
1022
|
-
|
|
1023
|
-
• **onloadedmetadata**: ``null`` \| (`ev`: Event) => *any*
|
|
1024
|
-
|
|
1025
|
-
Occurs when the duration and dimensions of the media have been determined.
|
|
1026
|
-
|
|
1027
|
-
**`param`** The event.
|
|
1028
|
-
|
|
1029
|
-
Inherited from: HTMLElement.onloadedmetadata
|
|
1030
|
-
|
|
1031
|
-
___
|
|
1032
|
-
|
|
1033
|
-
### onloadstart
|
|
1034
|
-
|
|
1035
|
-
• **onloadstart**: ``null`` \| (`ev`: Event) => *any*
|
|
1036
|
-
|
|
1037
|
-
Occurs when Internet Explorer begins looking for media data.
|
|
1038
|
-
|
|
1039
|
-
**`param`** The event.
|
|
1040
|
-
|
|
1041
|
-
Inherited from: HTMLElement.onloadstart
|
|
1042
|
-
|
|
1043
|
-
___
|
|
1044
|
-
|
|
1045
|
-
### onlostpointercapture
|
|
1046
|
-
|
|
1047
|
-
• **onlostpointercapture**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
1048
|
-
|
|
1049
|
-
Inherited from: HTMLElement.onlostpointercapture
|
|
1050
|
-
|
|
1051
|
-
___
|
|
1052
|
-
|
|
1053
|
-
### onmousedown
|
|
1054
|
-
|
|
1055
|
-
• **onmousedown**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
1056
|
-
|
|
1057
|
-
Fires when the user clicks the object with either mouse button.
|
|
1058
|
-
|
|
1059
|
-
**`param`** The mouse event.
|
|
1060
|
-
|
|
1061
|
-
Inherited from: HTMLElement.onmousedown
|
|
1062
|
-
|
|
1063
|
-
___
|
|
1064
|
-
|
|
1065
|
-
### onmouseenter
|
|
1066
|
-
|
|
1067
|
-
• **onmouseenter**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
1068
|
-
|
|
1069
|
-
Inherited from: HTMLElement.onmouseenter
|
|
1070
|
-
|
|
1071
|
-
___
|
|
1072
|
-
|
|
1073
|
-
### onmouseleave
|
|
1074
|
-
|
|
1075
|
-
• **onmouseleave**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
1076
|
-
|
|
1077
|
-
Inherited from: HTMLElement.onmouseleave
|
|
1078
|
-
|
|
1079
|
-
___
|
|
1080
|
-
|
|
1081
|
-
### onmousemove
|
|
1082
|
-
|
|
1083
|
-
• **onmousemove**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
1084
|
-
|
|
1085
|
-
Fires when the user moves the mouse over the object.
|
|
1086
|
-
|
|
1087
|
-
**`param`** The mouse event.
|
|
1088
|
-
|
|
1089
|
-
Inherited from: HTMLElement.onmousemove
|
|
1090
|
-
|
|
1091
|
-
___
|
|
1092
|
-
|
|
1093
|
-
### onmouseout
|
|
1094
|
-
|
|
1095
|
-
• **onmouseout**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
1096
|
-
|
|
1097
|
-
Fires when the user moves the mouse pointer outside the boundaries of the object.
|
|
1098
|
-
|
|
1099
|
-
**`param`** The mouse event.
|
|
1100
|
-
|
|
1101
|
-
Inherited from: HTMLElement.onmouseout
|
|
1102
|
-
|
|
1103
|
-
___
|
|
1104
|
-
|
|
1105
|
-
### onmouseover
|
|
1106
|
-
|
|
1107
|
-
• **onmouseover**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
1108
|
-
|
|
1109
|
-
Fires when the user moves the mouse pointer into the object.
|
|
1110
|
-
|
|
1111
|
-
**`param`** The mouse event.
|
|
1112
|
-
|
|
1113
|
-
Inherited from: HTMLElement.onmouseover
|
|
1114
|
-
|
|
1115
|
-
___
|
|
1116
|
-
|
|
1117
|
-
### onmouseup
|
|
1118
|
-
|
|
1119
|
-
• **onmouseup**: ``null`` \| (`ev`: MouseEvent) => *any*
|
|
1120
|
-
|
|
1121
|
-
Fires when the user releases a mouse button while the mouse is over the object.
|
|
1122
|
-
|
|
1123
|
-
**`param`** The mouse event.
|
|
1124
|
-
|
|
1125
|
-
Inherited from: HTMLElement.onmouseup
|
|
1126
|
-
|
|
1127
|
-
___
|
|
1128
|
-
|
|
1129
|
-
### onpaste
|
|
1130
|
-
|
|
1131
|
-
• **onpaste**: ``null`` \| (`ev`: ClipboardEvent) => *any*
|
|
1132
|
-
|
|
1133
|
-
Inherited from: HTMLElement.onpaste
|
|
1134
|
-
|
|
1135
|
-
___
|
|
1136
|
-
|
|
1137
|
-
### onpause
|
|
1138
|
-
|
|
1139
|
-
• **onpause**: ``null`` \| (`ev`: Event) => *any*
|
|
1140
|
-
|
|
1141
|
-
Occurs when playback is paused.
|
|
1142
|
-
|
|
1143
|
-
**`param`** The event.
|
|
1144
|
-
|
|
1145
|
-
Inherited from: HTMLElement.onpause
|
|
1146
|
-
|
|
1147
|
-
___
|
|
1148
|
-
|
|
1149
|
-
### onplay
|
|
1150
|
-
|
|
1151
|
-
• **onplay**: ``null`` \| (`ev`: Event) => *any*
|
|
1152
|
-
|
|
1153
|
-
Occurs when the play method is requested.
|
|
1154
|
-
|
|
1155
|
-
**`param`** The event.
|
|
1156
|
-
|
|
1157
|
-
Inherited from: HTMLElement.onplay
|
|
1158
|
-
|
|
1159
|
-
___
|
|
1160
|
-
|
|
1161
|
-
### onplaying
|
|
1162
|
-
|
|
1163
|
-
• **onplaying**: ``null`` \| (`ev`: Event) => *any*
|
|
1164
|
-
|
|
1165
|
-
Occurs when the audio or video has started playing.
|
|
1166
|
-
|
|
1167
|
-
**`param`** The event.
|
|
1168
|
-
|
|
1169
|
-
Inherited from: HTMLElement.onplaying
|
|
1170
|
-
|
|
1171
|
-
___
|
|
1172
|
-
|
|
1173
|
-
### onpointercancel
|
|
1174
|
-
|
|
1175
|
-
• **onpointercancel**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
1176
|
-
|
|
1177
|
-
Inherited from: HTMLElement.onpointercancel
|
|
1178
|
-
|
|
1179
|
-
___
|
|
1180
|
-
|
|
1181
|
-
### onpointerdown
|
|
1182
|
-
|
|
1183
|
-
• **onpointerdown**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
1184
|
-
|
|
1185
|
-
Inherited from: HTMLElement.onpointerdown
|
|
1186
|
-
|
|
1187
|
-
___
|
|
1188
|
-
|
|
1189
|
-
### onpointerenter
|
|
1190
|
-
|
|
1191
|
-
• **onpointerenter**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
1192
|
-
|
|
1193
|
-
Inherited from: HTMLElement.onpointerenter
|
|
1194
|
-
|
|
1195
|
-
___
|
|
1196
|
-
|
|
1197
|
-
### onpointerleave
|
|
1198
|
-
|
|
1199
|
-
• **onpointerleave**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
1200
|
-
|
|
1201
|
-
Inherited from: HTMLElement.onpointerleave
|
|
1202
|
-
|
|
1203
|
-
___
|
|
1204
|
-
|
|
1205
|
-
### onpointermove
|
|
1206
|
-
|
|
1207
|
-
• **onpointermove**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
1208
|
-
|
|
1209
|
-
Inherited from: HTMLElement.onpointermove
|
|
1210
|
-
|
|
1211
|
-
___
|
|
1212
|
-
|
|
1213
|
-
### onpointerout
|
|
1214
|
-
|
|
1215
|
-
• **onpointerout**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
1216
|
-
|
|
1217
|
-
Inherited from: HTMLElement.onpointerout
|
|
1218
|
-
|
|
1219
|
-
___
|
|
1220
|
-
|
|
1221
|
-
### onpointerover
|
|
1222
|
-
|
|
1223
|
-
• **onpointerover**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
1224
|
-
|
|
1225
|
-
Inherited from: HTMLElement.onpointerover
|
|
1226
|
-
|
|
1227
|
-
___
|
|
1228
|
-
|
|
1229
|
-
### onpointerup
|
|
1230
|
-
|
|
1231
|
-
• **onpointerup**: ``null`` \| (`ev`: PointerEvent) => *any*
|
|
1232
|
-
|
|
1233
|
-
Inherited from: HTMLElement.onpointerup
|
|
1234
|
-
|
|
1235
|
-
___
|
|
1236
|
-
|
|
1237
|
-
### onprogress
|
|
1238
|
-
|
|
1239
|
-
• **onprogress**: ``null`` \| (`ev`: *ProgressEvent*<EventTarget\>) => *any*
|
|
1240
|
-
|
|
1241
|
-
Occurs to indicate progress while downloading media data.
|
|
1242
|
-
|
|
1243
|
-
**`param`** The event.
|
|
1244
|
-
|
|
1245
|
-
Inherited from: HTMLElement.onprogress
|
|
1246
|
-
|
|
1247
|
-
___
|
|
1248
|
-
|
|
1249
|
-
### onratechange
|
|
1250
|
-
|
|
1251
|
-
• **onratechange**: ``null`` \| (`ev`: Event) => *any*
|
|
1252
|
-
|
|
1253
|
-
Occurs when the playback rate is increased or decreased.
|
|
1254
|
-
|
|
1255
|
-
**`param`** The event.
|
|
1256
|
-
|
|
1257
|
-
Inherited from: HTMLElement.onratechange
|
|
1258
|
-
|
|
1259
|
-
___
|
|
1260
|
-
|
|
1261
|
-
### onreset
|
|
1262
|
-
|
|
1263
|
-
• **onreset**: ``null`` \| (`ev`: Event) => *any*
|
|
1264
|
-
|
|
1265
|
-
Fires when the user resets a form.
|
|
1266
|
-
|
|
1267
|
-
**`param`** The event.
|
|
1268
|
-
|
|
1269
|
-
Inherited from: HTMLElement.onreset
|
|
1270
|
-
|
|
1271
|
-
___
|
|
1272
|
-
|
|
1273
|
-
### onresize
|
|
1274
|
-
|
|
1275
|
-
• **onresize**: ``null`` \| (`ev`: UIEvent) => *any*
|
|
1276
|
-
|
|
1277
|
-
Inherited from: HTMLElement.onresize
|
|
1278
|
-
|
|
1279
|
-
___
|
|
1280
|
-
|
|
1281
|
-
### onscroll
|
|
1282
|
-
|
|
1283
|
-
• **onscroll**: ``null`` \| (`ev`: Event) => *any*
|
|
1284
|
-
|
|
1285
|
-
Fires when the user repositions the scroll box in the scroll bar on the object.
|
|
1286
|
-
|
|
1287
|
-
**`param`** The event.
|
|
1288
|
-
|
|
1289
|
-
Inherited from: HTMLElement.onscroll
|
|
1290
|
-
|
|
1291
|
-
___
|
|
1292
|
-
|
|
1293
|
-
### onsecuritypolicyviolation
|
|
1294
|
-
|
|
1295
|
-
• **onsecuritypolicyviolation**: ``null`` \| (`ev`: SecurityPolicyViolationEvent) => *any*
|
|
1296
|
-
|
|
1297
|
-
Inherited from: HTMLElement.onsecuritypolicyviolation
|
|
1298
|
-
|
|
1299
|
-
___
|
|
1300
|
-
|
|
1301
|
-
### onseeked
|
|
1302
|
-
|
|
1303
|
-
• **onseeked**: ``null`` \| (`ev`: Event) => *any*
|
|
1304
|
-
|
|
1305
|
-
Occurs when the seek operation ends.
|
|
1306
|
-
|
|
1307
|
-
**`param`** The event.
|
|
1308
|
-
|
|
1309
|
-
Inherited from: HTMLElement.onseeked
|
|
1310
|
-
|
|
1311
|
-
___
|
|
1312
|
-
|
|
1313
|
-
### onseeking
|
|
1314
|
-
|
|
1315
|
-
• **onseeking**: ``null`` \| (`ev`: Event) => *any*
|
|
1316
|
-
|
|
1317
|
-
Occurs when the current playback position is moved.
|
|
1318
|
-
|
|
1319
|
-
**`param`** The event.
|
|
1320
|
-
|
|
1321
|
-
Inherited from: HTMLElement.onseeking
|
|
1322
|
-
|
|
1323
|
-
___
|
|
1324
|
-
|
|
1325
|
-
### onselect
|
|
1326
|
-
|
|
1327
|
-
• **onselect**: ``null`` \| (`ev`: Event) => *any*
|
|
1328
|
-
|
|
1329
|
-
Fires when the current selection changes.
|
|
1330
|
-
|
|
1331
|
-
**`param`** The event.
|
|
1332
|
-
|
|
1333
|
-
Inherited from: HTMLElement.onselect
|
|
1334
|
-
|
|
1335
|
-
___
|
|
1336
|
-
|
|
1337
|
-
### onselectionchange
|
|
1338
|
-
|
|
1339
|
-
• **onselectionchange**: ``null`` \| (`ev`: Event) => *any*
|
|
1340
|
-
|
|
1341
|
-
Inherited from: HTMLElement.onselectionchange
|
|
1342
|
-
|
|
1343
|
-
___
|
|
1344
|
-
|
|
1345
|
-
### onselectstart
|
|
1346
|
-
|
|
1347
|
-
• **onselectstart**: ``null`` \| (`ev`: Event) => *any*
|
|
1348
|
-
|
|
1349
|
-
Inherited from: HTMLElement.onselectstart
|
|
1350
|
-
|
|
1351
|
-
___
|
|
1352
|
-
|
|
1353
|
-
### onstalled
|
|
1354
|
-
|
|
1355
|
-
• **onstalled**: ``null`` \| (`ev`: Event) => *any*
|
|
1356
|
-
|
|
1357
|
-
Occurs when the download has stopped.
|
|
1358
|
-
|
|
1359
|
-
**`param`** The event.
|
|
1360
|
-
|
|
1361
|
-
Inherited from: HTMLElement.onstalled
|
|
1362
|
-
|
|
1363
|
-
___
|
|
1364
|
-
|
|
1365
|
-
### onsubmit
|
|
1366
|
-
|
|
1367
|
-
• **onsubmit**: ``null`` \| (`ev`: Event) => *any*
|
|
1368
|
-
|
|
1369
|
-
Inherited from: HTMLElement.onsubmit
|
|
1370
|
-
|
|
1371
|
-
___
|
|
1372
|
-
|
|
1373
|
-
### onsuspend
|
|
1374
|
-
|
|
1375
|
-
• **onsuspend**: ``null`` \| (`ev`: Event) => *any*
|
|
1376
|
-
|
|
1377
|
-
Occurs if the load operation has been intentionally halted.
|
|
1378
|
-
|
|
1379
|
-
**`param`** The event.
|
|
1380
|
-
|
|
1381
|
-
Inherited from: HTMLElement.onsuspend
|
|
1382
|
-
|
|
1383
|
-
___
|
|
1384
|
-
|
|
1385
|
-
### ontimeupdate
|
|
1386
|
-
|
|
1387
|
-
• **ontimeupdate**: ``null`` \| (`ev`: Event) => *any*
|
|
1388
|
-
|
|
1389
|
-
Occurs to indicate the current playback position.
|
|
1390
|
-
|
|
1391
|
-
**`param`** The event.
|
|
1392
|
-
|
|
1393
|
-
Inherited from: HTMLElement.ontimeupdate
|
|
1394
|
-
|
|
1395
|
-
___
|
|
1396
|
-
|
|
1397
|
-
### ontoggle
|
|
1398
|
-
|
|
1399
|
-
• **ontoggle**: ``null`` \| (`ev`: Event) => *any*
|
|
1400
|
-
|
|
1401
|
-
Inherited from: HTMLElement.ontoggle
|
|
1402
|
-
|
|
1403
|
-
___
|
|
1404
|
-
|
|
1405
|
-
### ontouchcancel
|
|
1406
|
-
|
|
1407
|
-
• `Optional` **ontouchcancel**: ``null`` \| (`ev`: TouchEvent) => *any*
|
|
1408
|
-
|
|
1409
|
-
Inherited from: HTMLElement.ontouchcancel
|
|
1410
|
-
|
|
1411
|
-
___
|
|
1412
|
-
|
|
1413
|
-
### ontouchend
|
|
1414
|
-
|
|
1415
|
-
• `Optional` **ontouchend**: ``null`` \| (`ev`: TouchEvent) => *any*
|
|
1416
|
-
|
|
1417
|
-
Inherited from: HTMLElement.ontouchend
|
|
1418
|
-
|
|
1419
|
-
___
|
|
1420
|
-
|
|
1421
|
-
### ontouchmove
|
|
1422
|
-
|
|
1423
|
-
• `Optional` **ontouchmove**: ``null`` \| (`ev`: TouchEvent) => *any*
|
|
1424
|
-
|
|
1425
|
-
Inherited from: HTMLElement.ontouchmove
|
|
1426
|
-
|
|
1427
|
-
___
|
|
1428
|
-
|
|
1429
|
-
### ontouchstart
|
|
1430
|
-
|
|
1431
|
-
• `Optional` **ontouchstart**: ``null`` \| (`ev`: TouchEvent) => *any*
|
|
1432
|
-
|
|
1433
|
-
Inherited from: HTMLElement.ontouchstart
|
|
1434
|
-
|
|
1435
|
-
___
|
|
1436
|
-
|
|
1437
|
-
### ontransitioncancel
|
|
1438
|
-
|
|
1439
|
-
• **ontransitioncancel**: ``null`` \| (`ev`: TransitionEvent) => *any*
|
|
1440
|
-
|
|
1441
|
-
Inherited from: HTMLElement.ontransitioncancel
|
|
1442
|
-
|
|
1443
|
-
___
|
|
1444
|
-
|
|
1445
|
-
### ontransitionend
|
|
1446
|
-
|
|
1447
|
-
• **ontransitionend**: ``null`` \| (`ev`: TransitionEvent) => *any*
|
|
1448
|
-
|
|
1449
|
-
Inherited from: HTMLElement.ontransitionend
|
|
1450
|
-
|
|
1451
|
-
___
|
|
1452
|
-
|
|
1453
|
-
### ontransitionrun
|
|
1454
|
-
|
|
1455
|
-
• **ontransitionrun**: ``null`` \| (`ev`: TransitionEvent) => *any*
|
|
1456
|
-
|
|
1457
|
-
Inherited from: HTMLElement.ontransitionrun
|
|
1458
|
-
|
|
1459
|
-
___
|
|
1460
|
-
|
|
1461
|
-
### ontransitionstart
|
|
1462
|
-
|
|
1463
|
-
• **ontransitionstart**: ``null`` \| (`ev`: TransitionEvent) => *any*
|
|
1464
|
-
|
|
1465
|
-
Inherited from: HTMLElement.ontransitionstart
|
|
1466
|
-
|
|
1467
|
-
___
|
|
1468
|
-
|
|
1469
|
-
### onvolumechange
|
|
1470
|
-
|
|
1471
|
-
• **onvolumechange**: ``null`` \| (`ev`: Event) => *any*
|
|
1472
|
-
|
|
1473
|
-
Occurs when the volume is changed, or playback is muted or unmuted.
|
|
1474
|
-
|
|
1475
|
-
**`param`** The event.
|
|
1476
|
-
|
|
1477
|
-
Inherited from: HTMLElement.onvolumechange
|
|
1478
|
-
|
|
1479
|
-
___
|
|
1480
|
-
|
|
1481
|
-
### onwaiting
|
|
1482
|
-
|
|
1483
|
-
• **onwaiting**: ``null`` \| (`ev`: Event) => *any*
|
|
1484
|
-
|
|
1485
|
-
Occurs when playback stops because the next frame of a video resource is not available.
|
|
1486
|
-
|
|
1487
|
-
**`param`** The event.
|
|
1488
|
-
|
|
1489
|
-
Inherited from: HTMLElement.onwaiting
|
|
1490
|
-
|
|
1491
|
-
___
|
|
1492
|
-
|
|
1493
|
-
### onwheel
|
|
1494
|
-
|
|
1495
|
-
• **onwheel**: ``null`` \| (`ev`: WheelEvent) => *any*
|
|
1496
|
-
|
|
1497
|
-
Inherited from: HTMLElement.onwheel
|
|
1498
|
-
|
|
1499
|
-
___
|
|
1500
|
-
|
|
1501
|
-
### outerHTML
|
|
1502
|
-
|
|
1503
|
-
• **outerHTML**: *string*
|
|
1504
|
-
|
|
1505
|
-
Inherited from: HTMLElement.outerHTML
|
|
1506
|
-
|
|
1507
|
-
___
|
|
1508
|
-
|
|
1509
|
-
### ownerDocument
|
|
1510
|
-
|
|
1511
|
-
• `Readonly` **ownerDocument**: Document
|
|
1512
|
-
|
|
1513
|
-
Inherited from: HTMLElement.ownerDocument
|
|
1514
|
-
|
|
1515
|
-
___
|
|
1516
|
-
|
|
1517
|
-
### parentElement
|
|
1518
|
-
|
|
1519
|
-
• `Readonly` **parentElement**: ``null`` \| HTMLElement
|
|
1520
|
-
|
|
1521
|
-
Returns the parent element.
|
|
1522
|
-
|
|
1523
|
-
Inherited from: HTMLElement.parentElement
|
|
1524
|
-
|
|
1525
|
-
___
|
|
1526
|
-
|
|
1527
|
-
### parentNode
|
|
1528
|
-
|
|
1529
|
-
• `Readonly` **parentNode**: ``null`` \| Node & ParentNode
|
|
1530
|
-
|
|
1531
|
-
Returns the parent.
|
|
1532
|
-
|
|
1533
|
-
Inherited from: HTMLElement.parentNode
|
|
1534
|
-
|
|
1535
|
-
___
|
|
1536
|
-
|
|
1537
|
-
### prefix
|
|
1538
|
-
|
|
1539
|
-
• `Readonly` **prefix**: ``null`` \| *string*
|
|
1540
|
-
|
|
1541
|
-
Returns the namespace prefix.
|
|
1542
|
-
|
|
1543
|
-
Inherited from: HTMLElement.prefix
|
|
1544
|
-
|
|
1545
|
-
___
|
|
1546
|
-
|
|
1547
|
-
### previousElementSibling
|
|
1548
|
-
|
|
1549
|
-
• `Readonly` **previousElementSibling**: ``null`` \| Element
|
|
1550
|
-
|
|
1551
|
-
Returns the first preceding sibling that is an element, and null otherwise.
|
|
1552
|
-
|
|
1553
|
-
Inherited from: HTMLElement.previousElementSibling
|
|
1554
|
-
|
|
1555
|
-
___
|
|
1556
|
-
|
|
1557
|
-
### previousSibling
|
|
1558
|
-
|
|
1559
|
-
• `Readonly` **previousSibling**: ``null`` \| ChildNode
|
|
1560
|
-
|
|
1561
|
-
Returns the previous sibling.
|
|
1562
|
-
|
|
1563
|
-
Inherited from: HTMLElement.previousSibling
|
|
1564
|
-
|
|
1565
|
-
___
|
|
1566
|
-
|
|
1567
|
-
### scrollHeight
|
|
1568
|
-
|
|
1569
|
-
• `Readonly` **scrollHeight**: *number*
|
|
1570
|
-
|
|
1571
|
-
Inherited from: HTMLElement.scrollHeight
|
|
1572
|
-
|
|
1573
|
-
___
|
|
1574
|
-
|
|
1575
|
-
### scrollLeft
|
|
1576
|
-
|
|
1577
|
-
• **scrollLeft**: *number*
|
|
1578
|
-
|
|
1579
|
-
Inherited from: HTMLElement.scrollLeft
|
|
1580
|
-
|
|
1581
|
-
___
|
|
1582
|
-
|
|
1583
|
-
### scrollTop
|
|
1584
|
-
|
|
1585
|
-
• **scrollTop**: *number*
|
|
1586
|
-
|
|
1587
|
-
Inherited from: HTMLElement.scrollTop
|
|
1588
|
-
|
|
1589
|
-
___
|
|
1590
|
-
|
|
1591
|
-
### scrollWidth
|
|
1592
|
-
|
|
1593
|
-
• `Readonly` **scrollWidth**: *number*
|
|
1594
|
-
|
|
1595
|
-
Inherited from: HTMLElement.scrollWidth
|
|
1596
|
-
|
|
1597
|
-
___
|
|
1598
|
-
|
|
1599
|
-
### shadowRoot
|
|
1600
|
-
|
|
1601
|
-
• `Readonly` **shadowRoot**: ``null`` \| ShadowRoot
|
|
1602
|
-
|
|
1603
|
-
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
|
|
1604
|
-
|
|
1605
|
-
Inherited from: HTMLElement.shadowRoot
|
|
1606
|
-
|
|
1607
|
-
___
|
|
1608
|
-
|
|
1609
|
-
### slot
|
|
1610
|
-
|
|
1611
|
-
• **slot**: *string*
|
|
1612
|
-
|
|
1613
|
-
Returns the value of element's slot content attribute. Can be set to change it.
|
|
1614
|
-
|
|
1615
|
-
Inherited from: HTMLElement.slot
|
|
1616
|
-
|
|
1617
|
-
___
|
|
1618
|
-
|
|
1619
|
-
### spellcheck
|
|
1620
|
-
|
|
1621
|
-
• **spellcheck**: *boolean*
|
|
1622
|
-
|
|
1623
|
-
Inherited from: HTMLElement.spellcheck
|
|
1624
|
-
|
|
1625
|
-
___
|
|
1626
|
-
|
|
1627
|
-
### style
|
|
1628
|
-
|
|
1629
|
-
• `Readonly` **style**: CSSStyleDeclaration
|
|
1630
|
-
|
|
1631
|
-
Inherited from: HTMLElement.style
|
|
1632
|
-
|
|
1633
|
-
___
|
|
1634
|
-
|
|
1635
|
-
### tabIndex
|
|
1636
|
-
|
|
1637
|
-
• **tabIndex**: *number*
|
|
1638
|
-
|
|
1639
|
-
Inherited from: HTMLElement.tabIndex
|
|
1640
|
-
|
|
1641
|
-
___
|
|
1642
|
-
|
|
1643
|
-
### tagName
|
|
1644
|
-
|
|
1645
|
-
• `Readonly` **tagName**: *string*
|
|
1646
|
-
|
|
1647
|
-
Returns the HTML-uppercased qualified name.
|
|
1648
|
-
|
|
1649
|
-
Inherited from: HTMLElement.tagName
|
|
1650
|
-
|
|
1651
|
-
___
|
|
1652
|
-
|
|
1653
|
-
### textContent
|
|
1654
|
-
|
|
1655
|
-
• **textContent**: ``null`` \| *string*
|
|
1656
|
-
|
|
1657
|
-
Inherited from: HTMLElement.textContent
|
|
1658
|
-
|
|
1659
|
-
___
|
|
1660
|
-
|
|
1661
|
-
### title
|
|
1662
|
-
|
|
1663
|
-
• **title**: *string*
|
|
1664
|
-
|
|
1665
|
-
Inherited from: HTMLElement.title
|
|
1666
|
-
|
|
1667
|
-
___
|
|
1668
|
-
|
|
1669
|
-
### translate
|
|
1670
|
-
|
|
1671
|
-
• **translate**: *boolean*
|
|
1672
|
-
|
|
1673
|
-
Inherited from: HTMLElement.translate
|
|
1674
|
-
|
|
1675
|
-
## Methods
|
|
1676
|
-
|
|
1677
|
-
### addEventListener
|
|
1678
|
-
|
|
1679
|
-
▸ **addEventListener**<K\>(`type`: K, `listener`: (`ev`: HTMLElementEventMap[K]) => *any*, `options?`: *boolean* \| AddEventListenerOptions): *void*
|
|
1680
|
-
|
|
1681
|
-
#### Type parameters:
|
|
1682
|
-
|
|
1683
|
-
| Name | Type |
|
|
1684
|
-
| :------ | :------ |
|
|
1685
|
-
| `K` | keyof HTMLElementEventMap |
|
|
1686
|
-
|
|
1687
|
-
#### Parameters:
|
|
1688
|
-
|
|
1689
|
-
| Name | Type |
|
|
1690
|
-
| :------ | :------ |
|
|
1691
|
-
| `type` | K |
|
|
1692
|
-
| `listener` | (`ev`: HTMLElementEventMap[K]) => *any* |
|
|
1693
|
-
| `options?` | *boolean* \| AddEventListenerOptions |
|
|
1694
|
-
|
|
1695
|
-
**Returns:** *void*
|
|
1696
|
-
|
|
1697
|
-
Inherited from: HTMLElement.addEventListener
|
|
1698
|
-
|
|
1699
|
-
▸ **addEventListener**(`type`: *string*, `listener`: EventListenerOrEventListenerObject, `options?`: *boolean* \| AddEventListenerOptions): *void*
|
|
1700
|
-
|
|
1701
|
-
#### Parameters:
|
|
1702
|
-
|
|
1703
|
-
| Name | Type |
|
|
1704
|
-
| :------ | :------ |
|
|
1705
|
-
| `type` | *string* |
|
|
1706
|
-
| `listener` | EventListenerOrEventListenerObject |
|
|
1707
|
-
| `options?` | *boolean* \| AddEventListenerOptions |
|
|
1708
|
-
|
|
1709
|
-
**Returns:** *void*
|
|
1710
|
-
|
|
1711
|
-
Inherited from: HTMLElement.addEventListener
|
|
1712
|
-
|
|
1713
|
-
___
|
|
1714
|
-
|
|
1715
|
-
### after
|
|
1716
|
-
|
|
1717
|
-
▸ **after**(...`nodes`: (*string* \| Node)[]): *void*
|
|
1718
|
-
|
|
1719
|
-
Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
|
|
1720
|
-
|
|
1721
|
-
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
1722
|
-
|
|
1723
|
-
#### Parameters:
|
|
1724
|
-
|
|
1725
|
-
| Name | Type |
|
|
1726
|
-
| :------ | :------ |
|
|
1727
|
-
| `...nodes` | (*string* \| Node)[] |
|
|
1728
|
-
|
|
1729
|
-
**Returns:** *void*
|
|
1730
|
-
|
|
1731
|
-
Inherited from: HTMLElement.after
|
|
1732
|
-
|
|
1733
|
-
___
|
|
1734
|
-
|
|
1735
|
-
### animate
|
|
1736
|
-
|
|
1737
|
-
▸ **animate**(`keyframes`: ``null`` \| Keyframe[] \| PropertyIndexedKeyframes, `options?`: *number* \| KeyframeAnimationOptions): Animation
|
|
1738
|
-
|
|
1739
|
-
#### Parameters:
|
|
1740
|
-
|
|
1741
|
-
| Name | Type |
|
|
1742
|
-
| :------ | :------ |
|
|
1743
|
-
| `keyframes` | ``null`` \| Keyframe[] \| PropertyIndexedKeyframes |
|
|
1744
|
-
| `options?` | *number* \| KeyframeAnimationOptions |
|
|
1745
|
-
|
|
1746
|
-
**Returns:** Animation
|
|
1747
|
-
|
|
1748
|
-
Inherited from: HTMLElement.animate
|
|
1749
|
-
|
|
1750
|
-
___
|
|
1751
|
-
|
|
1752
|
-
### append
|
|
1753
|
-
|
|
1754
|
-
▸ **append**(...`nodes`: (*string* \| Node)[]): *void*
|
|
1755
|
-
|
|
1756
|
-
Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
|
|
1757
|
-
|
|
1758
|
-
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
1759
|
-
|
|
1760
|
-
#### Parameters:
|
|
1761
|
-
|
|
1762
|
-
| Name | Type |
|
|
1763
|
-
| :------ | :------ |
|
|
1764
|
-
| `...nodes` | (*string* \| Node)[] |
|
|
1765
|
-
|
|
1766
|
-
**Returns:** *void*
|
|
1767
|
-
|
|
1768
|
-
Inherited from: HTMLElement.append
|
|
1769
|
-
|
|
1770
|
-
___
|
|
1771
|
-
|
|
1772
|
-
### appendChild
|
|
1773
|
-
|
|
1774
|
-
▸ **appendChild**<T\>(`newChild`: T): T
|
|
1775
|
-
|
|
1776
|
-
#### Type parameters:
|
|
1777
|
-
|
|
1778
|
-
| Name | Type |
|
|
1779
|
-
| :------ | :------ |
|
|
1780
|
-
| `T` | Node |
|
|
1781
|
-
|
|
1782
|
-
#### Parameters:
|
|
1783
|
-
|
|
1784
|
-
| Name | Type |
|
|
1785
|
-
| :------ | :------ |
|
|
1786
|
-
| `newChild` | T |
|
|
1787
|
-
|
|
1788
|
-
**Returns:** T
|
|
1789
|
-
|
|
1790
|
-
Inherited from: HTMLElement.appendChild
|
|
1791
|
-
|
|
1792
|
-
___
|
|
1793
|
-
|
|
1794
|
-
### attachShadow
|
|
1795
|
-
|
|
1796
|
-
▸ **attachShadow**(`init`: ShadowRootInit): ShadowRoot
|
|
1797
|
-
|
|
1798
|
-
Creates a shadow root for element and returns it.
|
|
1799
|
-
|
|
1800
|
-
#### Parameters:
|
|
1801
|
-
|
|
1802
|
-
| Name | Type |
|
|
1803
|
-
| :------ | :------ |
|
|
1804
|
-
| `init` | ShadowRootInit |
|
|
1805
|
-
|
|
1806
|
-
**Returns:** ShadowRoot
|
|
1807
|
-
|
|
1808
|
-
Inherited from: HTMLElement.attachShadow
|
|
1809
|
-
|
|
1810
|
-
___
|
|
1811
|
-
|
|
1812
|
-
### attributeChangedCallback
|
|
1813
|
-
|
|
1814
|
-
▸ **attributeChangedCallback**(`attrName`: *string*, `oldValue`: *undefined* \| *string*, `newValue`: *undefined* \| *string*): *void*
|
|
1815
|
-
|
|
1816
|
-
Called when an attribute is changed.
|
|
1817
|
-
|
|
1818
|
-
Override this in order to get notified about new attribute values.
|
|
1819
|
-
|
|
1820
|
-
NOTE: There are attributes that are common to all widgets. They are handled
|
|
1821
|
-
inside the base block. Therefore, if you override this method, be sure to
|
|
1822
|
-
call `super.attributeChangedCallback()` inside your implementation, in
|
|
1823
|
-
order to let the base class know about the arguments that it might be interested in.
|
|
1824
|
-
|
|
1825
|
-
#### Parameters:
|
|
1826
|
-
|
|
1827
|
-
| Name | Type |
|
|
1828
|
-
| :------ | :------ |
|
|
1829
|
-
| `attrName` | *string* |
|
|
1830
|
-
| `oldValue` | *undefined* \| *string* |
|
|
1831
|
-
| `newValue` | *undefined* \| *string* |
|
|
1832
|
-
|
|
1833
|
-
**Returns:** *void*
|
|
1834
|
-
|
|
1835
|
-
___
|
|
1836
|
-
|
|
1837
|
-
### before
|
|
1838
|
-
|
|
1839
|
-
▸ **before**(...`nodes`: (*string* \| Node)[]): *void*
|
|
1840
|
-
|
|
1841
|
-
Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
|
|
1842
|
-
|
|
1843
|
-
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
1844
|
-
|
|
1845
|
-
#### Parameters:
|
|
1846
|
-
|
|
1847
|
-
| Name | Type |
|
|
1848
|
-
| :------ | :------ |
|
|
1849
|
-
| `...nodes` | (*string* \| Node)[] |
|
|
1850
|
-
|
|
1851
|
-
**Returns:** *void*
|
|
1852
|
-
|
|
1853
|
-
Inherited from: HTMLElement.before
|
|
1854
|
-
|
|
1855
|
-
___
|
|
1856
|
-
|
|
1857
|
-
### blur
|
|
1858
|
-
|
|
1859
|
-
▸ **blur**(): *void*
|
|
1860
|
-
|
|
1861
|
-
**Returns:** *void*
|
|
1862
|
-
|
|
1863
|
-
Inherited from: HTMLElement.blur
|
|
1864
|
-
|
|
1865
|
-
___
|
|
1866
|
-
|
|
1867
|
-
### click
|
|
1868
|
-
|
|
1869
|
-
▸ **click**(): *void*
|
|
1870
|
-
|
|
1871
|
-
**Returns:** *void*
|
|
1872
|
-
|
|
1873
|
-
Inherited from: HTMLElement.click
|
|
1874
|
-
|
|
1875
|
-
___
|
|
1876
|
-
|
|
1877
|
-
### cloneNode
|
|
1878
|
-
|
|
1879
|
-
▸ **cloneNode**(`deep?`: *boolean*): Node
|
|
1880
|
-
|
|
1881
|
-
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
|
|
1882
|
-
|
|
1883
|
-
#### Parameters:
|
|
1884
|
-
|
|
1885
|
-
| Name | Type |
|
|
1886
|
-
| :------ | :------ |
|
|
1887
|
-
| `deep?` | *boolean* |
|
|
1888
|
-
|
|
1889
|
-
**Returns:** Node
|
|
1890
|
-
|
|
1891
|
-
Inherited from: HTMLElement.cloneNode
|
|
1892
|
-
|
|
1893
|
-
___
|
|
1894
|
-
|
|
1895
|
-
### closest
|
|
1896
|
-
|
|
1897
|
-
▸ **closest**<K\>(`selector`: K): ``null`` \| HTMLElementTagNameMap[K]
|
|
1898
|
-
|
|
1899
|
-
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
|
|
1900
|
-
|
|
1901
|
-
#### Type parameters:
|
|
1902
|
-
|
|
1903
|
-
| Name | Type |
|
|
1904
|
-
| :------ | :------ |
|
|
1905
|
-
| `K` | keyof HTMLElementTagNameMap |
|
|
1906
|
-
|
|
1907
|
-
#### Parameters:
|
|
1908
|
-
|
|
1909
|
-
| Name | Type |
|
|
1910
|
-
| :------ | :------ |
|
|
1911
|
-
| `selector` | K |
|
|
1912
|
-
|
|
1913
|
-
**Returns:** ``null`` \| HTMLElementTagNameMap[K]
|
|
1914
|
-
|
|
1915
|
-
Inherited from: HTMLElement.closest
|
|
1916
|
-
|
|
1917
|
-
▸ **closest**<K\>(`selector`: K): ``null`` \| SVGElementTagNameMap[K]
|
|
1918
|
-
|
|
1919
|
-
#### Type parameters:
|
|
1920
|
-
|
|
1921
|
-
| Name | Type |
|
|
1922
|
-
| :------ | :------ |
|
|
1923
|
-
| `K` | keyof SVGElementTagNameMap |
|
|
1924
|
-
|
|
1925
|
-
#### Parameters:
|
|
1926
|
-
|
|
1927
|
-
| Name | Type |
|
|
1928
|
-
| :------ | :------ |
|
|
1929
|
-
| `selector` | K |
|
|
1930
|
-
|
|
1931
|
-
**Returns:** ``null`` \| SVGElementTagNameMap[K]
|
|
1932
|
-
|
|
1933
|
-
Inherited from: HTMLElement.closest
|
|
1934
|
-
|
|
1935
|
-
▸ **closest**<E\>(`selector`: *string*): ``null`` \| E
|
|
1936
|
-
|
|
1937
|
-
#### Type parameters:
|
|
1938
|
-
|
|
1939
|
-
| Name | Type | Default |
|
|
1940
|
-
| :------ | :------ | :------ |
|
|
1941
|
-
| `E` | Element | Element |
|
|
1942
|
-
|
|
1943
|
-
#### Parameters:
|
|
1944
|
-
|
|
1945
|
-
| Name | Type |
|
|
1946
|
-
| :------ | :------ |
|
|
1947
|
-
| `selector` | *string* |
|
|
1948
|
-
|
|
1949
|
-
**Returns:** ``null`` \| E
|
|
1950
|
-
|
|
1951
|
-
Inherited from: HTMLElement.closest
|
|
1952
|
-
|
|
1953
|
-
___
|
|
1954
|
-
|
|
1955
|
-
### compareDocumentPosition
|
|
1956
|
-
|
|
1957
|
-
▸ **compareDocumentPosition**(`other`: Node): *number*
|
|
1958
|
-
|
|
1959
|
-
Returns a bitmask indicating the position of other relative to node.
|
|
1960
|
-
|
|
1961
|
-
#### Parameters:
|
|
1962
|
-
|
|
1963
|
-
| Name | Type |
|
|
1964
|
-
| :------ | :------ |
|
|
1965
|
-
| `other` | Node |
|
|
1966
|
-
|
|
1967
|
-
**Returns:** *number*
|
|
1968
|
-
|
|
1969
|
-
Inherited from: HTMLElement.compareDocumentPosition
|
|
1970
|
-
|
|
1971
|
-
___
|
|
1972
|
-
|
|
1973
|
-
### contains
|
|
1974
|
-
|
|
1975
|
-
▸ **contains**(`other`: ``null`` \| Node): *boolean*
|
|
1976
|
-
|
|
1977
|
-
Returns true if other is an inclusive descendant of node, and false otherwise.
|
|
1978
|
-
|
|
1979
|
-
#### Parameters:
|
|
1980
|
-
|
|
1981
|
-
| Name | Type |
|
|
1982
|
-
| :------ | :------ |
|
|
1983
|
-
| `other` | ``null`` \| Node |
|
|
1984
|
-
|
|
1985
|
-
**Returns:** *boolean*
|
|
1986
|
-
|
|
1987
|
-
Inherited from: HTMLElement.contains
|
|
1988
|
-
|
|
1989
|
-
___
|
|
1990
|
-
|
|
1991
|
-
### dispatchEvent
|
|
1992
|
-
|
|
1993
|
-
▸ **dispatchEvent**(`event`: Event): *boolean*
|
|
1994
|
-
|
|
1995
|
-
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
|
1996
|
-
|
|
1997
|
-
#### Parameters:
|
|
1998
|
-
|
|
1999
|
-
| Name | Type |
|
|
2000
|
-
| :------ | :------ |
|
|
2001
|
-
| `event` | Event |
|
|
2002
|
-
|
|
2003
|
-
**Returns:** *boolean*
|
|
2004
|
-
|
|
2005
|
-
Inherited from: HTMLElement.dispatchEvent
|
|
2006
|
-
|
|
2007
|
-
___
|
|
2008
|
-
|
|
2009
|
-
### focus
|
|
2010
|
-
|
|
2011
|
-
▸ **focus**(`options?`: FocusOptions): *void*
|
|
2012
|
-
|
|
2013
|
-
#### Parameters:
|
|
2014
|
-
|
|
2015
|
-
| Name | Type |
|
|
2016
|
-
| :------ | :------ |
|
|
2017
|
-
| `options?` | FocusOptions |
|
|
2018
|
-
|
|
2019
|
-
**Returns:** *void*
|
|
2020
|
-
|
|
2021
|
-
Inherited from: HTMLElement.focus
|
|
2022
|
-
|
|
2023
|
-
___
|
|
2024
|
-
|
|
2025
|
-
### getAnimations
|
|
2026
|
-
|
|
2027
|
-
▸ **getAnimations**(): Animation[]
|
|
2028
|
-
|
|
2029
|
-
**Returns:** Animation[]
|
|
2030
|
-
|
|
2031
|
-
Inherited from: HTMLElement.getAnimations
|
|
2032
|
-
|
|
2033
|
-
___
|
|
2034
|
-
|
|
2035
|
-
### getAttribute
|
|
2036
|
-
|
|
2037
|
-
▸ **getAttribute**(`qualifiedName`: *string*): ``null`` \| *string*
|
|
2038
|
-
|
|
2039
|
-
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
|
|
2040
|
-
|
|
2041
|
-
#### Parameters:
|
|
2042
|
-
|
|
2043
|
-
| Name | Type |
|
|
2044
|
-
| :------ | :------ |
|
|
2045
|
-
| `qualifiedName` | *string* |
|
|
2046
|
-
|
|
2047
|
-
**Returns:** ``null`` \| *string*
|
|
2048
|
-
|
|
2049
|
-
Inherited from: HTMLElement.getAttribute
|
|
2050
|
-
|
|
2051
|
-
___
|
|
2052
|
-
|
|
2053
|
-
### getAttributeNS
|
|
2054
|
-
|
|
2055
|
-
▸ **getAttributeNS**(`namespace`: ``null`` \| *string*, `localName`: *string*): ``null`` \| *string*
|
|
2056
|
-
|
|
2057
|
-
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
|
|
2058
|
-
|
|
2059
|
-
#### Parameters:
|
|
2060
|
-
|
|
2061
|
-
| Name | Type |
|
|
2062
|
-
| :------ | :------ |
|
|
2063
|
-
| `namespace` | ``null`` \| *string* |
|
|
2064
|
-
| `localName` | *string* |
|
|
2065
|
-
|
|
2066
|
-
**Returns:** ``null`` \| *string*
|
|
2067
|
-
|
|
2068
|
-
Inherited from: HTMLElement.getAttributeNS
|
|
2069
|
-
|
|
2070
|
-
___
|
|
2071
|
-
|
|
2072
|
-
### getAttributeNames
|
|
2073
|
-
|
|
2074
|
-
▸ **getAttributeNames**(): *string*[]
|
|
2075
|
-
|
|
2076
|
-
Returns the qualified names of all element's attributes. Can contain duplicates.
|
|
2077
|
-
|
|
2078
|
-
**Returns:** *string*[]
|
|
2079
|
-
|
|
2080
|
-
Inherited from: HTMLElement.getAttributeNames
|
|
2081
|
-
|
|
2082
|
-
___
|
|
2083
|
-
|
|
2084
|
-
### getAttributeNode
|
|
2085
|
-
|
|
2086
|
-
▸ **getAttributeNode**(`qualifiedName`: *string*): ``null`` \| Attr
|
|
2087
|
-
|
|
2088
|
-
#### Parameters:
|
|
2089
|
-
|
|
2090
|
-
| Name | Type |
|
|
2091
|
-
| :------ | :------ |
|
|
2092
|
-
| `qualifiedName` | *string* |
|
|
2093
|
-
|
|
2094
|
-
**Returns:** ``null`` \| Attr
|
|
2095
|
-
|
|
2096
|
-
Inherited from: HTMLElement.getAttributeNode
|
|
2097
|
-
|
|
2098
|
-
___
|
|
2099
|
-
|
|
2100
|
-
### getAttributeNodeNS
|
|
2101
|
-
|
|
2102
|
-
▸ **getAttributeNodeNS**(`namespace`: ``null`` \| *string*, `localName`: *string*): ``null`` \| Attr
|
|
2103
|
-
|
|
2104
|
-
#### Parameters:
|
|
2105
|
-
|
|
2106
|
-
| Name | Type |
|
|
2107
|
-
| :------ | :------ |
|
|
2108
|
-
| `namespace` | ``null`` \| *string* |
|
|
2109
|
-
| `localName` | *string* |
|
|
2110
|
-
|
|
2111
|
-
**Returns:** ``null`` \| Attr
|
|
2112
|
-
|
|
2113
|
-
Inherited from: HTMLElement.getAttributeNodeNS
|
|
2114
|
-
|
|
2115
|
-
___
|
|
2116
|
-
|
|
2117
|
-
### getBoundingClientRect
|
|
2118
|
-
|
|
2119
|
-
▸ **getBoundingClientRect**(): DOMRect
|
|
2120
|
-
|
|
2121
|
-
**Returns:** DOMRect
|
|
2122
|
-
|
|
2123
|
-
Inherited from: HTMLElement.getBoundingClientRect
|
|
2124
|
-
|
|
2125
|
-
___
|
|
2126
|
-
|
|
2127
|
-
### getClientRects
|
|
2128
|
-
|
|
2129
|
-
▸ **getClientRects**(): DOMRectList
|
|
2130
|
-
|
|
2131
|
-
**Returns:** DOMRectList
|
|
2132
|
-
|
|
2133
|
-
Inherited from: HTMLElement.getClientRects
|
|
2134
|
-
|
|
2135
|
-
___
|
|
2136
|
-
|
|
2137
|
-
### getElementsByClassName
|
|
2138
|
-
|
|
2139
|
-
▸ **getElementsByClassName**(`classNames`: *string*): *HTMLCollectionOf*<Element\>
|
|
2140
|
-
|
|
2141
|
-
Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.
|
|
2142
|
-
|
|
2143
|
-
#### Parameters:
|
|
2144
|
-
|
|
2145
|
-
| Name | Type |
|
|
2146
|
-
| :------ | :------ |
|
|
2147
|
-
| `classNames` | *string* |
|
|
2148
|
-
|
|
2149
|
-
**Returns:** *HTMLCollectionOf*<Element\>
|
|
2150
|
-
|
|
2151
|
-
Inherited from: HTMLElement.getElementsByClassName
|
|
2152
|
-
|
|
2153
|
-
___
|
|
2154
|
-
|
|
2155
|
-
### getElementsByTagName
|
|
2156
|
-
|
|
2157
|
-
▸ **getElementsByTagName**<K\>(`qualifiedName`: K): *HTMLCollectionOf*<HTMLElementTagNameMap[K]\>
|
|
2158
|
-
|
|
2159
|
-
#### Type parameters:
|
|
2160
|
-
|
|
2161
|
-
| Name | Type |
|
|
2162
|
-
| :------ | :------ |
|
|
2163
|
-
| `K` | keyof HTMLElementTagNameMap |
|
|
2164
|
-
|
|
2165
|
-
#### Parameters:
|
|
2166
|
-
|
|
2167
|
-
| Name | Type |
|
|
2168
|
-
| :------ | :------ |
|
|
2169
|
-
| `qualifiedName` | K |
|
|
2170
|
-
|
|
2171
|
-
**Returns:** *HTMLCollectionOf*<HTMLElementTagNameMap[K]\>
|
|
2172
|
-
|
|
2173
|
-
Inherited from: HTMLElement.getElementsByTagName
|
|
2174
|
-
|
|
2175
|
-
▸ **getElementsByTagName**<K\>(`qualifiedName`: K): *HTMLCollectionOf*<SVGElementTagNameMap[K]\>
|
|
2176
|
-
|
|
2177
|
-
#### Type parameters:
|
|
2178
|
-
|
|
2179
|
-
| Name | Type |
|
|
2180
|
-
| :------ | :------ |
|
|
2181
|
-
| `K` | keyof SVGElementTagNameMap |
|
|
2182
|
-
|
|
2183
|
-
#### Parameters:
|
|
2184
|
-
|
|
2185
|
-
| Name | Type |
|
|
2186
|
-
| :------ | :------ |
|
|
2187
|
-
| `qualifiedName` | K |
|
|
2188
|
-
|
|
2189
|
-
**Returns:** *HTMLCollectionOf*<SVGElementTagNameMap[K]\>
|
|
2190
|
-
|
|
2191
|
-
Inherited from: HTMLElement.getElementsByTagName
|
|
2192
|
-
|
|
2193
|
-
▸ **getElementsByTagName**(`qualifiedName`: *string*): *HTMLCollectionOf*<Element\>
|
|
2194
|
-
|
|
2195
|
-
#### Parameters:
|
|
2196
|
-
|
|
2197
|
-
| Name | Type |
|
|
2198
|
-
| :------ | :------ |
|
|
2199
|
-
| `qualifiedName` | *string* |
|
|
2200
|
-
|
|
2201
|
-
**Returns:** *HTMLCollectionOf*<Element\>
|
|
2202
|
-
|
|
2203
|
-
Inherited from: HTMLElement.getElementsByTagName
|
|
2204
|
-
|
|
2205
|
-
___
|
|
2206
|
-
|
|
2207
|
-
### getElementsByTagNameNS
|
|
2208
|
-
|
|
2209
|
-
▸ **getElementsByTagNameNS**(`namespaceURI`: ``"http://www.w3.org/1999/xhtml"``, `localName`: *string*): *HTMLCollectionOf*<HTMLElement\>
|
|
2210
|
-
|
|
2211
|
-
#### Parameters:
|
|
2212
|
-
|
|
2213
|
-
| Name | Type |
|
|
2214
|
-
| :------ | :------ |
|
|
2215
|
-
| `namespaceURI` | ``"http://www.w3.org/1999/xhtml"`` |
|
|
2216
|
-
| `localName` | *string* |
|
|
2217
|
-
|
|
2218
|
-
**Returns:** *HTMLCollectionOf*<HTMLElement\>
|
|
2219
|
-
|
|
2220
|
-
Inherited from: HTMLElement.getElementsByTagNameNS
|
|
2221
|
-
|
|
2222
|
-
▸ **getElementsByTagNameNS**(`namespaceURI`: ``"http://www.w3.org/2000/svg"``, `localName`: *string*): *HTMLCollectionOf*<SVGElement\>
|
|
2223
|
-
|
|
2224
|
-
#### Parameters:
|
|
2225
|
-
|
|
2226
|
-
| Name | Type |
|
|
2227
|
-
| :------ | :------ |
|
|
2228
|
-
| `namespaceURI` | ``"http://www.w3.org/2000/svg"`` |
|
|
2229
|
-
| `localName` | *string* |
|
|
2230
|
-
|
|
2231
|
-
**Returns:** *HTMLCollectionOf*<SVGElement\>
|
|
2232
|
-
|
|
2233
|
-
Inherited from: HTMLElement.getElementsByTagNameNS
|
|
2234
|
-
|
|
2235
|
-
▸ **getElementsByTagNameNS**(`namespaceURI`: *string*, `localName`: *string*): *HTMLCollectionOf*<Element\>
|
|
2236
|
-
|
|
2237
|
-
#### Parameters:
|
|
2238
|
-
|
|
2239
|
-
| Name | Type |
|
|
2240
|
-
| :------ | :------ |
|
|
2241
|
-
| `namespaceURI` | *string* |
|
|
2242
|
-
| `localName` | *string* |
|
|
2243
|
-
|
|
2244
|
-
**Returns:** *HTMLCollectionOf*<Element\>
|
|
2245
|
-
|
|
2246
|
-
Inherited from: HTMLElement.getElementsByTagNameNS
|
|
2247
|
-
|
|
2248
|
-
___
|
|
2249
|
-
|
|
2250
|
-
### getRootNode
|
|
2251
|
-
|
|
2252
|
-
▸ **getRootNode**(`options?`: GetRootNodeOptions): Node
|
|
2253
|
-
|
|
2254
|
-
Returns node's root.
|
|
2255
|
-
|
|
2256
|
-
#### Parameters:
|
|
2257
|
-
|
|
2258
|
-
| Name | Type |
|
|
2259
|
-
| :------ | :------ |
|
|
2260
|
-
| `options?` | GetRootNodeOptions |
|
|
2261
|
-
|
|
2262
|
-
**Returns:** Node
|
|
2263
|
-
|
|
2264
|
-
Inherited from: HTMLElement.getRootNode
|
|
2265
|
-
|
|
2266
|
-
___
|
|
2267
|
-
|
|
2268
|
-
### hasAttribute
|
|
2269
|
-
|
|
2270
|
-
▸ **hasAttribute**(`qualifiedName`: *string*): *boolean*
|
|
2271
|
-
|
|
2272
|
-
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
|
|
2273
|
-
|
|
2274
|
-
#### Parameters:
|
|
2275
|
-
|
|
2276
|
-
| Name | Type |
|
|
2277
|
-
| :------ | :------ |
|
|
2278
|
-
| `qualifiedName` | *string* |
|
|
2279
|
-
|
|
2280
|
-
**Returns:** *boolean*
|
|
2281
|
-
|
|
2282
|
-
Inherited from: HTMLElement.hasAttribute
|
|
2283
|
-
|
|
2284
|
-
___
|
|
2285
|
-
|
|
2286
|
-
### hasAttributeNS
|
|
2287
|
-
|
|
2288
|
-
▸ **hasAttributeNS**(`namespace`: ``null`` \| *string*, `localName`: *string*): *boolean*
|
|
2289
|
-
|
|
2290
|
-
Returns true if element has an attribute whose namespace is namespace and local name is localName.
|
|
2291
|
-
|
|
2292
|
-
#### Parameters:
|
|
2293
|
-
|
|
2294
|
-
| Name | Type |
|
|
2295
|
-
| :------ | :------ |
|
|
2296
|
-
| `namespace` | ``null`` \| *string* |
|
|
2297
|
-
| `localName` | *string* |
|
|
2298
|
-
|
|
2299
|
-
**Returns:** *boolean*
|
|
2300
|
-
|
|
2301
|
-
Inherited from: HTMLElement.hasAttributeNS
|
|
2302
|
-
|
|
2303
|
-
___
|
|
2304
|
-
|
|
2305
|
-
### hasAttributes
|
|
2306
|
-
|
|
2307
|
-
▸ **hasAttributes**(): *boolean*
|
|
2308
|
-
|
|
2309
|
-
Returns true if element has attributes, and false otherwise.
|
|
2310
|
-
|
|
2311
|
-
**Returns:** *boolean*
|
|
2312
|
-
|
|
2313
|
-
Inherited from: HTMLElement.hasAttributes
|
|
2314
|
-
|
|
2315
|
-
___
|
|
2316
|
-
|
|
2317
|
-
### hasChildNodes
|
|
2318
|
-
|
|
2319
|
-
▸ **hasChildNodes**(): *boolean*
|
|
2320
|
-
|
|
2321
|
-
Returns whether node has children.
|
|
2322
|
-
|
|
2323
|
-
**Returns:** *boolean*
|
|
2324
|
-
|
|
2325
|
-
Inherited from: HTMLElement.hasChildNodes
|
|
2326
|
-
|
|
2327
|
-
___
|
|
2328
|
-
|
|
2329
|
-
### hasPointerCapture
|
|
2330
|
-
|
|
2331
|
-
▸ **hasPointerCapture**(`pointerId`: *number*): *boolean*
|
|
2332
|
-
|
|
2333
|
-
#### Parameters:
|
|
2334
|
-
|
|
2335
|
-
| Name | Type |
|
|
2336
|
-
| :------ | :------ |
|
|
2337
|
-
| `pointerId` | *number* |
|
|
2338
|
-
|
|
2339
|
-
**Returns:** *boolean*
|
|
2340
|
-
|
|
2341
|
-
Inherited from: HTMLElement.hasPointerCapture
|
|
2342
|
-
|
|
2343
|
-
___
|
|
2344
|
-
|
|
2345
|
-
### insertAdjacentElement
|
|
2346
|
-
|
|
2347
|
-
▸ **insertAdjacentElement**(`position`: InsertPosition, `insertedElement`: Element): ``null`` \| Element
|
|
2348
|
-
|
|
2349
|
-
#### Parameters:
|
|
2350
|
-
|
|
2351
|
-
| Name | Type |
|
|
2352
|
-
| :------ | :------ |
|
|
2353
|
-
| `position` | InsertPosition |
|
|
2354
|
-
| `insertedElement` | Element |
|
|
2355
|
-
|
|
2356
|
-
**Returns:** ``null`` \| Element
|
|
2357
|
-
|
|
2358
|
-
Inherited from: HTMLElement.insertAdjacentElement
|
|
2359
|
-
|
|
2360
|
-
___
|
|
2361
|
-
|
|
2362
|
-
### insertAdjacentHTML
|
|
2363
|
-
|
|
2364
|
-
▸ **insertAdjacentHTML**(`where`: InsertPosition, `html`: *string*): *void*
|
|
2365
|
-
|
|
2366
|
-
#### Parameters:
|
|
2367
|
-
|
|
2368
|
-
| Name | Type |
|
|
2369
|
-
| :------ | :------ |
|
|
2370
|
-
| `where` | InsertPosition |
|
|
2371
|
-
| `html` | *string* |
|
|
2372
|
-
|
|
2373
|
-
**Returns:** *void*
|
|
2374
|
-
|
|
2375
|
-
Inherited from: HTMLElement.insertAdjacentHTML
|
|
2376
|
-
|
|
2377
|
-
___
|
|
2378
|
-
|
|
2379
|
-
### insertAdjacentText
|
|
2380
|
-
|
|
2381
|
-
▸ **insertAdjacentText**(`where`: InsertPosition, `text`: *string*): *void*
|
|
2382
|
-
|
|
2383
|
-
#### Parameters:
|
|
2384
|
-
|
|
2385
|
-
| Name | Type |
|
|
2386
|
-
| :------ | :------ |
|
|
2387
|
-
| `where` | InsertPosition |
|
|
2388
|
-
| `text` | *string* |
|
|
2389
|
-
|
|
2390
|
-
**Returns:** *void*
|
|
2391
|
-
|
|
2392
|
-
Inherited from: HTMLElement.insertAdjacentText
|
|
2393
|
-
|
|
2394
|
-
___
|
|
2395
|
-
|
|
2396
|
-
### insertBefore
|
|
2397
|
-
|
|
2398
|
-
▸ **insertBefore**<T\>(`newChild`: T, `refChild`: ``null`` \| Node): T
|
|
2399
|
-
|
|
2400
|
-
#### Type parameters:
|
|
2401
|
-
|
|
2402
|
-
| Name | Type |
|
|
2403
|
-
| :------ | :------ |
|
|
2404
|
-
| `T` | Node |
|
|
2405
|
-
|
|
2406
|
-
#### Parameters:
|
|
2407
|
-
|
|
2408
|
-
| Name | Type |
|
|
2409
|
-
| :------ | :------ |
|
|
2410
|
-
| `newChild` | T |
|
|
2411
|
-
| `refChild` | ``null`` \| Node |
|
|
2412
|
-
|
|
2413
|
-
**Returns:** T
|
|
2414
|
-
|
|
2415
|
-
Inherited from: HTMLElement.insertBefore
|
|
2416
|
-
|
|
2417
|
-
___
|
|
2418
|
-
|
|
2419
|
-
### isDefaultNamespace
|
|
2420
|
-
|
|
2421
|
-
▸ **isDefaultNamespace**(`namespace`: ``null`` \| *string*): *boolean*
|
|
2422
|
-
|
|
2423
|
-
#### Parameters:
|
|
2424
|
-
|
|
2425
|
-
| Name | Type |
|
|
2426
|
-
| :------ | :------ |
|
|
2427
|
-
| `namespace` | ``null`` \| *string* |
|
|
2428
|
-
|
|
2429
|
-
**Returns:** *boolean*
|
|
2430
|
-
|
|
2431
|
-
Inherited from: HTMLElement.isDefaultNamespace
|
|
2432
|
-
|
|
2433
|
-
___
|
|
2434
|
-
|
|
2435
|
-
### isEqualNode
|
|
2436
|
-
|
|
2437
|
-
▸ **isEqualNode**(`otherNode`: ``null`` \| Node): *boolean*
|
|
2438
|
-
|
|
2439
|
-
Returns whether node and otherNode have the same properties.
|
|
2440
|
-
|
|
2441
|
-
#### Parameters:
|
|
2442
|
-
|
|
2443
|
-
| Name | Type |
|
|
2444
|
-
| :------ | :------ |
|
|
2445
|
-
| `otherNode` | ``null`` \| Node |
|
|
2446
|
-
|
|
2447
|
-
**Returns:** *boolean*
|
|
2448
|
-
|
|
2449
|
-
Inherited from: HTMLElement.isEqualNode
|
|
2450
|
-
|
|
2451
|
-
___
|
|
2452
|
-
|
|
2453
|
-
### isSameNode
|
|
2454
|
-
|
|
2455
|
-
▸ **isSameNode**(`otherNode`: ``null`` \| Node): *boolean*
|
|
2456
|
-
|
|
2457
|
-
#### Parameters:
|
|
2458
|
-
|
|
2459
|
-
| Name | Type |
|
|
2460
|
-
| :------ | :------ |
|
|
2461
|
-
| `otherNode` | ``null`` \| Node |
|
|
2462
|
-
|
|
2463
|
-
**Returns:** *boolean*
|
|
2464
|
-
|
|
2465
|
-
Inherited from: HTMLElement.isSameNode
|
|
2466
|
-
|
|
2467
|
-
___
|
|
2468
|
-
|
|
2469
|
-
### lookupNamespaceURI
|
|
2470
|
-
|
|
2471
|
-
▸ **lookupNamespaceURI**(`prefix`: ``null`` \| *string*): ``null`` \| *string*
|
|
2472
|
-
|
|
2473
|
-
#### Parameters:
|
|
2474
|
-
|
|
2475
|
-
| Name | Type |
|
|
2476
|
-
| :------ | :------ |
|
|
2477
|
-
| `prefix` | ``null`` \| *string* |
|
|
2478
|
-
|
|
2479
|
-
**Returns:** ``null`` \| *string*
|
|
2480
|
-
|
|
2481
|
-
Inherited from: HTMLElement.lookupNamespaceURI
|
|
2482
|
-
|
|
2483
|
-
___
|
|
2484
|
-
|
|
2485
|
-
### lookupPrefix
|
|
2486
|
-
|
|
2487
|
-
▸ **lookupPrefix**(`namespace`: ``null`` \| *string*): ``null`` \| *string*
|
|
2488
|
-
|
|
2489
|
-
#### Parameters:
|
|
2490
|
-
|
|
2491
|
-
| Name | Type |
|
|
2492
|
-
| :------ | :------ |
|
|
2493
|
-
| `namespace` | ``null`` \| *string* |
|
|
2494
|
-
|
|
2495
|
-
**Returns:** ``null`` \| *string*
|
|
2496
|
-
|
|
2497
|
-
Inherited from: HTMLElement.lookupPrefix
|
|
2498
|
-
|
|
2499
|
-
___
|
|
2500
|
-
|
|
2501
|
-
### matches
|
|
2502
|
-
|
|
2503
|
-
▸ **matches**(`selectors`: *string*): *boolean*
|
|
2504
|
-
|
|
2505
|
-
Returns true if matching selectors against element's root yields element, and false otherwise.
|
|
2506
|
-
|
|
2507
|
-
#### Parameters:
|
|
2508
|
-
|
|
2509
|
-
| Name | Type |
|
|
2510
|
-
| :------ | :------ |
|
|
2511
|
-
| `selectors` | *string* |
|
|
2512
|
-
|
|
2513
|
-
**Returns:** *boolean*
|
|
2514
|
-
|
|
2515
|
-
Inherited from: HTMLElement.matches
|
|
2516
|
-
|
|
2517
|
-
___
|
|
2518
|
-
|
|
2519
|
-
### msGetRegionContent
|
|
2520
|
-
|
|
2521
|
-
▸ **msGetRegionContent**(): *any*
|
|
2522
|
-
|
|
2523
|
-
**Returns:** *any*
|
|
2524
|
-
|
|
2525
|
-
Inherited from: HTMLElement.msGetRegionContent
|
|
2526
|
-
|
|
2527
|
-
___
|
|
2528
|
-
|
|
2529
|
-
### normalize
|
|
2530
|
-
|
|
2531
|
-
▸ **normalize**(): *void*
|
|
2532
|
-
|
|
2533
|
-
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
|
|
2534
|
-
|
|
2535
|
-
**Returns:** *void*
|
|
2536
|
-
|
|
2537
|
-
Inherited from: HTMLElement.normalize
|
|
2538
|
-
|
|
2539
|
-
___
|
|
2540
|
-
|
|
2541
|
-
### parseAttributes
|
|
2542
|
-
|
|
2543
|
-
▸ **parseAttributes**<T\>(): *Record*<string, T\>
|
|
2544
|
-
|
|
2545
|
-
Called when the config dialog is opened. The dialog uses the parsed attributes, to fill
|
|
2546
|
-
the fields with the existing values.
|
|
2547
|
-
|
|
2548
|
-
Uses the property blockDefinition.attributes to parse each indidividual attribute and
|
|
2549
|
-
returns it in the format, the configuration form needs. The common attributes are handled
|
|
2550
|
-
externally
|
|
2551
|
-
|
|
2552
|
-
This method is the counter part of parseConfig, the this must be implemented, if parseConfig
|
|
2553
|
-
is overriden.
|
|
2554
|
-
|
|
2555
|
-
NOTE: The default implementation converts every string to string, boolean or number and decodes
|
|
2556
|
-
and parses the data uris to the arrays and objects. Dates are remaining a string!
|
|
2557
|
-
|
|
2558
|
-
#### Type parameters:
|
|
2559
|
-
|
|
2560
|
-
| Name |
|
|
2561
|
-
| :------ |
|
|
2562
|
-
| `T` |
|
|
2563
|
-
|
|
2564
|
-
**Returns:** *Record*<string, T\>
|
|
2565
|
-
|
|
2566
|
-
___
|
|
2567
|
-
|
|
2568
|
-
### parseConfig
|
|
2569
|
-
|
|
2570
|
-
▸ **parseConfig**<T\>(`attributes`: *Record*<string, T\>): *Record*<string, string\>
|
|
2571
|
-
|
|
2572
|
-
Called after the dialog is closed and the attributes are set on the web component.
|
|
2573
|
-
|
|
2574
|
-
Override this if the attributes are handled with a different logic then the default one.
|
|
2575
|
-
|
|
2576
|
-
#### Type parameters:
|
|
2577
|
-
|
|
2578
|
-
| Name |
|
|
2579
|
-
| :------ |
|
|
2580
|
-
| `T` |
|
|
2581
|
-
|
|
2582
|
-
#### Parameters:
|
|
2583
|
-
|
|
2584
|
-
| Name | Type | Description |
|
|
2585
|
-
| :------ | :------ | :------ |
|
|
2586
|
-
| `attributes` | *Record*<string, T\> | A map of attributes, as defined in the block definition, which have the types from the form data NOTE: The default implementation turns every value in a string, except arrays and object, which are converted to base64 encoded data uris in the format `data:text/plain;base64,...` |
|
|
2587
|
-
|
|
2588
|
-
**Returns:** *Record*<string, string\>
|
|
2589
|
-
|
|
2590
|
-
___
|
|
2591
|
-
|
|
2592
|
-
### prepend
|
|
2593
|
-
|
|
2594
|
-
▸ **prepend**(...`nodes`: (*string* \| Node)[]): *void*
|
|
2595
|
-
|
|
2596
|
-
Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
|
|
2597
|
-
|
|
2598
|
-
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
2599
|
-
|
|
2600
|
-
#### Parameters:
|
|
2601
|
-
|
|
2602
|
-
| Name | Type |
|
|
2603
|
-
| :------ | :------ |
|
|
2604
|
-
| `...nodes` | (*string* \| Node)[] |
|
|
2605
|
-
|
|
2606
|
-
**Returns:** *void*
|
|
2607
|
-
|
|
2608
|
-
Inherited from: HTMLElement.prepend
|
|
2609
|
-
|
|
2610
|
-
___
|
|
2611
|
-
|
|
2612
|
-
### querySelector
|
|
2613
|
-
|
|
2614
|
-
▸ **querySelector**<K\>(`selectors`: K): ``null`` \| HTMLElementTagNameMap[K]
|
|
2615
|
-
|
|
2616
|
-
Returns the first element that is a descendant of node that matches selectors.
|
|
2617
|
-
|
|
2618
|
-
#### Type parameters:
|
|
2619
|
-
|
|
2620
|
-
| Name | Type |
|
|
2621
|
-
| :------ | :------ |
|
|
2622
|
-
| `K` | keyof HTMLElementTagNameMap |
|
|
2623
|
-
|
|
2624
|
-
#### Parameters:
|
|
2625
|
-
|
|
2626
|
-
| Name | Type |
|
|
2627
|
-
| :------ | :------ |
|
|
2628
|
-
| `selectors` | K |
|
|
2629
|
-
|
|
2630
|
-
**Returns:** ``null`` \| HTMLElementTagNameMap[K]
|
|
2631
|
-
|
|
2632
|
-
Inherited from: HTMLElement.querySelector
|
|
2633
|
-
|
|
2634
|
-
▸ **querySelector**<K\>(`selectors`: K): ``null`` \| SVGElementTagNameMap[K]
|
|
2635
|
-
|
|
2636
|
-
#### Type parameters:
|
|
2637
|
-
|
|
2638
|
-
| Name | Type |
|
|
2639
|
-
| :------ | :------ |
|
|
2640
|
-
| `K` | keyof SVGElementTagNameMap |
|
|
2641
|
-
|
|
2642
|
-
#### Parameters:
|
|
2643
|
-
|
|
2644
|
-
| Name | Type |
|
|
2645
|
-
| :------ | :------ |
|
|
2646
|
-
| `selectors` | K |
|
|
2647
|
-
|
|
2648
|
-
**Returns:** ``null`` \| SVGElementTagNameMap[K]
|
|
2649
|
-
|
|
2650
|
-
Inherited from: HTMLElement.querySelector
|
|
2651
|
-
|
|
2652
|
-
▸ **querySelector**<E\>(`selectors`: *string*): ``null`` \| E
|
|
2653
|
-
|
|
2654
|
-
#### Type parameters:
|
|
2655
|
-
|
|
2656
|
-
| Name | Type | Default |
|
|
2657
|
-
| :------ | :------ | :------ |
|
|
2658
|
-
| `E` | Element | Element |
|
|
2659
|
-
|
|
2660
|
-
#### Parameters:
|
|
2661
|
-
|
|
2662
|
-
| Name | Type |
|
|
2663
|
-
| :------ | :------ |
|
|
2664
|
-
| `selectors` | *string* |
|
|
2665
|
-
|
|
2666
|
-
**Returns:** ``null`` \| E
|
|
2667
|
-
|
|
2668
|
-
Inherited from: HTMLElement.querySelector
|
|
2669
|
-
|
|
2670
|
-
___
|
|
2671
|
-
|
|
2672
|
-
### querySelectorAll
|
|
2673
|
-
|
|
2674
|
-
▸ **querySelectorAll**<K\>(`selectors`: K): *NodeListOf*<HTMLElementTagNameMap[K]\>
|
|
2675
|
-
|
|
2676
|
-
Returns all element descendants of node that match selectors.
|
|
2677
|
-
|
|
2678
|
-
#### Type parameters:
|
|
2679
|
-
|
|
2680
|
-
| Name | Type |
|
|
2681
|
-
| :------ | :------ |
|
|
2682
|
-
| `K` | keyof HTMLElementTagNameMap |
|
|
2683
|
-
|
|
2684
|
-
#### Parameters:
|
|
2685
|
-
|
|
2686
|
-
| Name | Type |
|
|
2687
|
-
| :------ | :------ |
|
|
2688
|
-
| `selectors` | K |
|
|
2689
|
-
|
|
2690
|
-
**Returns:** *NodeListOf*<HTMLElementTagNameMap[K]\>
|
|
2691
|
-
|
|
2692
|
-
Inherited from: HTMLElement.querySelectorAll
|
|
2693
|
-
|
|
2694
|
-
▸ **querySelectorAll**<K\>(`selectors`: K): *NodeListOf*<SVGElementTagNameMap[K]\>
|
|
2695
|
-
|
|
2696
|
-
#### Type parameters:
|
|
2697
|
-
|
|
2698
|
-
| Name | Type |
|
|
2699
|
-
| :------ | :------ |
|
|
2700
|
-
| `K` | keyof SVGElementTagNameMap |
|
|
2701
|
-
|
|
2702
|
-
#### Parameters:
|
|
2703
|
-
|
|
2704
|
-
| Name | Type |
|
|
2705
|
-
| :------ | :------ |
|
|
2706
|
-
| `selectors` | K |
|
|
2707
|
-
|
|
2708
|
-
**Returns:** *NodeListOf*<SVGElementTagNameMap[K]\>
|
|
2709
|
-
|
|
2710
|
-
Inherited from: HTMLElement.querySelectorAll
|
|
2711
|
-
|
|
2712
|
-
▸ **querySelectorAll**<E\>(`selectors`: *string*): *NodeListOf*<E\>
|
|
2713
|
-
|
|
2714
|
-
#### Type parameters:
|
|
2715
|
-
|
|
2716
|
-
| Name | Type | Default |
|
|
2717
|
-
| :------ | :------ | :------ |
|
|
2718
|
-
| `E` | Element | Element |
|
|
2719
|
-
|
|
2720
|
-
#### Parameters:
|
|
2721
|
-
|
|
2722
|
-
| Name | Type |
|
|
2723
|
-
| :------ | :------ |
|
|
2724
|
-
| `selectors` | *string* |
|
|
2725
|
-
|
|
2726
|
-
**Returns:** *NodeListOf*<E\>
|
|
2727
|
-
|
|
2728
|
-
Inherited from: HTMLElement.querySelectorAll
|
|
2729
|
-
|
|
2730
|
-
___
|
|
2731
|
-
|
|
2732
|
-
### releasePointerCapture
|
|
2733
|
-
|
|
2734
|
-
▸ **releasePointerCapture**(`pointerId`: *number*): *void*
|
|
2735
|
-
|
|
2736
|
-
#### Parameters:
|
|
2737
|
-
|
|
2738
|
-
| Name | Type |
|
|
2739
|
-
| :------ | :------ |
|
|
2740
|
-
| `pointerId` | *number* |
|
|
2741
|
-
|
|
2742
|
-
**Returns:** *void*
|
|
2743
|
-
|
|
2744
|
-
Inherited from: HTMLElement.releasePointerCapture
|
|
2745
|
-
|
|
2746
|
-
___
|
|
2747
|
-
|
|
2748
|
-
### remove
|
|
2749
|
-
|
|
2750
|
-
▸ **remove**(): *void*
|
|
2751
|
-
|
|
2752
|
-
Removes node.
|
|
2753
|
-
|
|
2754
|
-
**Returns:** *void*
|
|
2755
|
-
|
|
2756
|
-
Inherited from: HTMLElement.remove
|
|
2757
|
-
|
|
2758
|
-
___
|
|
2759
|
-
|
|
2760
|
-
### removeAttribute
|
|
2761
|
-
|
|
2762
|
-
▸ **removeAttribute**(`qualifiedName`: *string*): *void*
|
|
2763
|
-
|
|
2764
|
-
Removes element's first attribute whose qualified name is qualifiedName.
|
|
2765
|
-
|
|
2766
|
-
#### Parameters:
|
|
2767
|
-
|
|
2768
|
-
| Name | Type |
|
|
2769
|
-
| :------ | :------ |
|
|
2770
|
-
| `qualifiedName` | *string* |
|
|
2771
|
-
|
|
2772
|
-
**Returns:** *void*
|
|
2773
|
-
|
|
2774
|
-
Inherited from: HTMLElement.removeAttribute
|
|
2775
|
-
|
|
2776
|
-
___
|
|
2777
|
-
|
|
2778
|
-
### removeAttributeNS
|
|
2779
|
-
|
|
2780
|
-
▸ **removeAttributeNS**(`namespace`: ``null`` \| *string*, `localName`: *string*): *void*
|
|
2781
|
-
|
|
2782
|
-
Removes element's attribute whose namespace is namespace and local name is localName.
|
|
2783
|
-
|
|
2784
|
-
#### Parameters:
|
|
2785
|
-
|
|
2786
|
-
| Name | Type |
|
|
2787
|
-
| :------ | :------ |
|
|
2788
|
-
| `namespace` | ``null`` \| *string* |
|
|
2789
|
-
| `localName` | *string* |
|
|
2790
|
-
|
|
2791
|
-
**Returns:** *void*
|
|
2792
|
-
|
|
2793
|
-
Inherited from: HTMLElement.removeAttributeNS
|
|
2794
|
-
|
|
2795
|
-
___
|
|
2796
|
-
|
|
2797
|
-
### removeAttributeNode
|
|
2798
|
-
|
|
2799
|
-
▸ **removeAttributeNode**(`attr`: Attr): Attr
|
|
2800
|
-
|
|
2801
|
-
#### Parameters:
|
|
2802
|
-
|
|
2803
|
-
| Name | Type |
|
|
2804
|
-
| :------ | :------ |
|
|
2805
|
-
| `attr` | Attr |
|
|
2806
|
-
|
|
2807
|
-
**Returns:** Attr
|
|
2808
|
-
|
|
2809
|
-
Inherited from: HTMLElement.removeAttributeNode
|
|
2810
|
-
|
|
2811
|
-
___
|
|
2812
|
-
|
|
2813
|
-
### removeChild
|
|
2814
|
-
|
|
2815
|
-
▸ **removeChild**<T\>(`oldChild`: T): T
|
|
2816
|
-
|
|
2817
|
-
#### Type parameters:
|
|
2818
|
-
|
|
2819
|
-
| Name | Type |
|
|
2820
|
-
| :------ | :------ |
|
|
2821
|
-
| `T` | Node |
|
|
2822
|
-
|
|
2823
|
-
#### Parameters:
|
|
2824
|
-
|
|
2825
|
-
| Name | Type |
|
|
2826
|
-
| :------ | :------ |
|
|
2827
|
-
| `oldChild` | T |
|
|
2828
|
-
|
|
2829
|
-
**Returns:** T
|
|
2830
|
-
|
|
2831
|
-
Inherited from: HTMLElement.removeChild
|
|
2832
|
-
|
|
2833
|
-
___
|
|
2834
|
-
|
|
2835
|
-
### removeEventListener
|
|
2836
|
-
|
|
2837
|
-
▸ **removeEventListener**<K\>(`type`: K, `listener`: (`ev`: HTMLElementEventMap[K]) => *any*, `options?`: *boolean* \| EventListenerOptions): *void*
|
|
2838
|
-
|
|
2839
|
-
#### Type parameters:
|
|
2840
|
-
|
|
2841
|
-
| Name | Type |
|
|
2842
|
-
| :------ | :------ |
|
|
2843
|
-
| `K` | keyof HTMLElementEventMap |
|
|
2844
|
-
|
|
2845
|
-
#### Parameters:
|
|
2846
|
-
|
|
2847
|
-
| Name | Type |
|
|
2848
|
-
| :------ | :------ |
|
|
2849
|
-
| `type` | K |
|
|
2850
|
-
| `listener` | (`ev`: HTMLElementEventMap[K]) => *any* |
|
|
2851
|
-
| `options?` | *boolean* \| EventListenerOptions |
|
|
2852
|
-
|
|
2853
|
-
**Returns:** *void*
|
|
2854
|
-
|
|
2855
|
-
Inherited from: HTMLElement.removeEventListener
|
|
2856
|
-
|
|
2857
|
-
▸ **removeEventListener**(`type`: *string*, `listener`: EventListenerOrEventListenerObject, `options?`: *boolean* \| EventListenerOptions): *void*
|
|
2858
|
-
|
|
2859
|
-
#### Parameters:
|
|
2860
|
-
|
|
2861
|
-
| Name | Type |
|
|
2862
|
-
| :------ | :------ |
|
|
2863
|
-
| `type` | *string* |
|
|
2864
|
-
| `listener` | EventListenerOrEventListenerObject |
|
|
2865
|
-
| `options?` | *boolean* \| EventListenerOptions |
|
|
2866
|
-
|
|
2867
|
-
**Returns:** *void*
|
|
2868
|
-
|
|
2869
|
-
Inherited from: HTMLElement.removeEventListener
|
|
2870
|
-
|
|
2871
|
-
___
|
|
2872
|
-
|
|
2873
|
-
### renderBlock
|
|
2874
|
-
|
|
2875
|
-
▸ **renderBlock**(`container`: HTMLElement): *void*
|
|
2876
|
-
|
|
2877
|
-
Called when the widget is rendered in a page.
|
|
2878
|
-
Override this method in order to display your widget contents.
|
|
2879
|
-
|
|
2880
|
-
Default implementation is a noop.
|
|
2881
|
-
|
|
2882
|
-
#### Parameters:
|
|
2883
|
-
|
|
2884
|
-
| Name | Type | Description |
|
|
2885
|
-
| :------ | :------ | :------ |
|
|
2886
|
-
| `container` | HTMLElement | an `HTMLElement` into which the contents of the widget should be rendered. Note that this does not necessarily have to be `this` since the base class might render a title, a div with a border, or other decorations. |
|
|
2887
|
-
|
|
2888
|
-
**Returns:** *void*
|
|
2889
|
-
|
|
2890
|
-
___
|
|
2891
|
-
|
|
2892
|
-
### renderBlockInEditor
|
|
2893
|
-
|
|
2894
|
-
▸ **renderBlockInEditor**(`container`: HTMLElement): *void*
|
|
2895
|
-
|
|
2896
|
-
Called when the widget is rendered in the WYSIWYG editor.
|
|
2897
|
-
override this method in order to display your widget preview.
|
|
2898
|
-
|
|
2899
|
-
By default, the editor will display a generic placeholder
|
|
2900
|
-
with the widget name and icon.
|
|
2901
|
-
|
|
2902
|
-
#### Parameters:
|
|
2903
|
-
|
|
2904
|
-
| Name | Type | Description |
|
|
2905
|
-
| :------ | :------ | :------ |
|
|
2906
|
-
| `container` | HTMLElement | an `HTMLElement` into which the contents of the widget should be rendered Note that this does not necessarily have to be `this` since the base class might render a title, a div with a border, or other decorations. |
|
|
2907
|
-
|
|
2908
|
-
**Returns:** *void*
|
|
2909
|
-
|
|
2910
|
-
___
|
|
2911
|
-
|
|
2912
|
-
### replaceChild
|
|
2913
|
-
|
|
2914
|
-
▸ **replaceChild**<T\>(`newChild`: Node, `oldChild`: T): T
|
|
2915
|
-
|
|
2916
|
-
#### Type parameters:
|
|
2917
|
-
|
|
2918
|
-
| Name | Type |
|
|
2919
|
-
| :------ | :------ |
|
|
2920
|
-
| `T` | Node |
|
|
2921
|
-
|
|
2922
|
-
#### Parameters:
|
|
2923
|
-
|
|
2924
|
-
| Name | Type |
|
|
2925
|
-
| :------ | :------ |
|
|
2926
|
-
| `newChild` | Node |
|
|
2927
|
-
| `oldChild` | T |
|
|
2928
|
-
|
|
2929
|
-
**Returns:** T
|
|
2930
|
-
|
|
2931
|
-
Inherited from: HTMLElement.replaceChild
|
|
2932
|
-
|
|
2933
|
-
___
|
|
2934
|
-
|
|
2935
|
-
### replaceWith
|
|
2936
|
-
|
|
2937
|
-
▸ **replaceWith**(...`nodes`: (*string* \| Node)[]): *void*
|
|
2938
|
-
|
|
2939
|
-
Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
|
|
2940
|
-
|
|
2941
|
-
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
2942
|
-
|
|
2943
|
-
#### Parameters:
|
|
2944
|
-
|
|
2945
|
-
| Name | Type |
|
|
2946
|
-
| :------ | :------ |
|
|
2947
|
-
| `...nodes` | (*string* \| Node)[] |
|
|
2948
|
-
|
|
2949
|
-
**Returns:** *void*
|
|
2950
|
-
|
|
2951
|
-
Inherited from: HTMLElement.replaceWith
|
|
2952
|
-
|
|
2953
|
-
___
|
|
2954
|
-
|
|
2955
|
-
### requestFullscreen
|
|
2956
|
-
|
|
2957
|
-
▸ **requestFullscreen**(`options?`: FullscreenOptions): *Promise*<void\>
|
|
2958
|
-
|
|
2959
|
-
Displays element fullscreen and resolves promise when done.
|
|
2960
|
-
|
|
2961
|
-
When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.
|
|
2962
|
-
|
|
2963
|
-
#### Parameters:
|
|
2964
|
-
|
|
2965
|
-
| Name | Type |
|
|
2966
|
-
| :------ | :------ |
|
|
2967
|
-
| `options?` | FullscreenOptions |
|
|
2968
|
-
|
|
2969
|
-
**Returns:** *Promise*<void\>
|
|
2970
|
-
|
|
2971
|
-
Inherited from: HTMLElement.requestFullscreen
|
|
2972
|
-
|
|
2973
|
-
___
|
|
2974
|
-
|
|
2975
|
-
### requestPointerLock
|
|
2976
|
-
|
|
2977
|
-
▸ **requestPointerLock**(): *void*
|
|
2978
|
-
|
|
2979
|
-
**Returns:** *void*
|
|
2980
|
-
|
|
2981
|
-
Inherited from: HTMLElement.requestPointerLock
|
|
2982
|
-
|
|
2983
|
-
___
|
|
2984
|
-
|
|
2985
|
-
### scroll
|
|
2986
|
-
|
|
2987
|
-
▸ **scroll**(`options?`: ScrollToOptions): *void*
|
|
2988
|
-
|
|
2989
|
-
#### Parameters:
|
|
2990
|
-
|
|
2991
|
-
| Name | Type |
|
|
2992
|
-
| :------ | :------ |
|
|
2993
|
-
| `options?` | ScrollToOptions |
|
|
2994
|
-
|
|
2995
|
-
**Returns:** *void*
|
|
2996
|
-
|
|
2997
|
-
Inherited from: HTMLElement.scroll
|
|
2998
|
-
|
|
2999
|
-
▸ **scroll**(`x`: *number*, `y`: *number*): *void*
|
|
3000
|
-
|
|
3001
|
-
#### Parameters:
|
|
3002
|
-
|
|
3003
|
-
| Name | Type |
|
|
3004
|
-
| :------ | :------ |
|
|
3005
|
-
| `x` | *number* |
|
|
3006
|
-
| `y` | *number* |
|
|
3007
|
-
|
|
3008
|
-
**Returns:** *void*
|
|
3009
|
-
|
|
3010
|
-
Inherited from: HTMLElement.scroll
|
|
3011
|
-
|
|
3012
|
-
___
|
|
3013
|
-
|
|
3014
|
-
### scrollBy
|
|
3015
|
-
|
|
3016
|
-
▸ **scrollBy**(`options?`: ScrollToOptions): *void*
|
|
3017
|
-
|
|
3018
|
-
#### Parameters:
|
|
3019
|
-
|
|
3020
|
-
| Name | Type |
|
|
3021
|
-
| :------ | :------ |
|
|
3022
|
-
| `options?` | ScrollToOptions |
|
|
3023
|
-
|
|
3024
|
-
**Returns:** *void*
|
|
3025
|
-
|
|
3026
|
-
Inherited from: HTMLElement.scrollBy
|
|
3027
|
-
|
|
3028
|
-
▸ **scrollBy**(`x`: *number*, `y`: *number*): *void*
|
|
3029
|
-
|
|
3030
|
-
#### Parameters:
|
|
3031
|
-
|
|
3032
|
-
| Name | Type |
|
|
3033
|
-
| :------ | :------ |
|
|
3034
|
-
| `x` | *number* |
|
|
3035
|
-
| `y` | *number* |
|
|
3036
|
-
|
|
3037
|
-
**Returns:** *void*
|
|
3038
|
-
|
|
3039
|
-
Inherited from: HTMLElement.scrollBy
|
|
3040
|
-
|
|
3041
|
-
___
|
|
3042
|
-
|
|
3043
|
-
### scrollIntoView
|
|
3044
|
-
|
|
3045
|
-
▸ **scrollIntoView**(`arg?`: *boolean* \| ScrollIntoViewOptions): *void*
|
|
3046
|
-
|
|
3047
|
-
#### Parameters:
|
|
3048
|
-
|
|
3049
|
-
| Name | Type |
|
|
3050
|
-
| :------ | :------ |
|
|
3051
|
-
| `arg?` | *boolean* \| ScrollIntoViewOptions |
|
|
3052
|
-
|
|
3053
|
-
**Returns:** *void*
|
|
3054
|
-
|
|
3055
|
-
Inherited from: HTMLElement.scrollIntoView
|
|
3056
|
-
|
|
3057
|
-
___
|
|
3058
|
-
|
|
3059
|
-
### scrollTo
|
|
3060
|
-
|
|
3061
|
-
▸ **scrollTo**(`options?`: ScrollToOptions): *void*
|
|
3062
|
-
|
|
3063
|
-
#### Parameters:
|
|
3064
|
-
|
|
3065
|
-
| Name | Type |
|
|
3066
|
-
| :------ | :------ |
|
|
3067
|
-
| `options?` | ScrollToOptions |
|
|
3068
|
-
|
|
3069
|
-
**Returns:** *void*
|
|
3070
|
-
|
|
3071
|
-
Inherited from: HTMLElement.scrollTo
|
|
3072
|
-
|
|
3073
|
-
▸ **scrollTo**(`x`: *number*, `y`: *number*): *void*
|
|
3074
|
-
|
|
3075
|
-
#### Parameters:
|
|
3076
|
-
|
|
3077
|
-
| Name | Type |
|
|
3078
|
-
| :------ | :------ |
|
|
3079
|
-
| `x` | *number* |
|
|
3080
|
-
| `y` | *number* |
|
|
3081
|
-
|
|
3082
|
-
**Returns:** *void*
|
|
3083
|
-
|
|
3084
|
-
Inherited from: HTMLElement.scrollTo
|
|
3085
|
-
|
|
3086
|
-
___
|
|
3087
|
-
|
|
3088
|
-
### setAttribute
|
|
3089
|
-
|
|
3090
|
-
▸ **setAttribute**(`qualifiedName`: *string*, `value`: *string*): *void*
|
|
3091
|
-
|
|
3092
|
-
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
|
|
3093
|
-
|
|
3094
|
-
#### Parameters:
|
|
3095
|
-
|
|
3096
|
-
| Name | Type |
|
|
3097
|
-
| :------ | :------ |
|
|
3098
|
-
| `qualifiedName` | *string* |
|
|
3099
|
-
| `value` | *string* |
|
|
3100
|
-
|
|
3101
|
-
**Returns:** *void*
|
|
3102
|
-
|
|
3103
|
-
Inherited from: HTMLElement.setAttribute
|
|
3104
|
-
|
|
3105
|
-
___
|
|
3106
|
-
|
|
3107
|
-
### setAttributeNS
|
|
3108
|
-
|
|
3109
|
-
▸ **setAttributeNS**(`namespace`: ``null`` \| *string*, `qualifiedName`: *string*, `value`: *string*): *void*
|
|
3110
|
-
|
|
3111
|
-
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
|
|
3112
|
-
|
|
3113
|
-
#### Parameters:
|
|
3114
|
-
|
|
3115
|
-
| Name | Type |
|
|
3116
|
-
| :------ | :------ |
|
|
3117
|
-
| `namespace` | ``null`` \| *string* |
|
|
3118
|
-
| `qualifiedName` | *string* |
|
|
3119
|
-
| `value` | *string* |
|
|
3120
|
-
|
|
3121
|
-
**Returns:** *void*
|
|
3122
|
-
|
|
3123
|
-
Inherited from: HTMLElement.setAttributeNS
|
|
3124
|
-
|
|
3125
|
-
___
|
|
3126
|
-
|
|
3127
|
-
### setAttributeNode
|
|
3128
|
-
|
|
3129
|
-
▸ **setAttributeNode**(`attr`: Attr): ``null`` \| Attr
|
|
3130
|
-
|
|
3131
|
-
#### Parameters:
|
|
3132
|
-
|
|
3133
|
-
| Name | Type |
|
|
3134
|
-
| :------ | :------ |
|
|
3135
|
-
| `attr` | Attr |
|
|
3136
|
-
|
|
3137
|
-
**Returns:** ``null`` \| Attr
|
|
3138
|
-
|
|
3139
|
-
Inherited from: HTMLElement.setAttributeNode
|
|
3140
|
-
|
|
3141
|
-
___
|
|
3142
|
-
|
|
3143
|
-
### setAttributeNodeNS
|
|
3144
|
-
|
|
3145
|
-
▸ **setAttributeNodeNS**(`attr`: Attr): ``null`` \| Attr
|
|
3146
|
-
|
|
3147
|
-
#### Parameters:
|
|
3148
|
-
|
|
3149
|
-
| Name | Type |
|
|
3150
|
-
| :------ | :------ |
|
|
3151
|
-
| `attr` | Attr |
|
|
3152
|
-
|
|
3153
|
-
**Returns:** ``null`` \| Attr
|
|
3154
|
-
|
|
3155
|
-
Inherited from: HTMLElement.setAttributeNodeNS
|
|
3156
|
-
|
|
3157
|
-
___
|
|
3158
|
-
|
|
3159
|
-
### setPointerCapture
|
|
3160
|
-
|
|
3161
|
-
▸ **setPointerCapture**(`pointerId`: *number*): *void*
|
|
3162
|
-
|
|
3163
|
-
#### Parameters:
|
|
3164
|
-
|
|
3165
|
-
| Name | Type |
|
|
3166
|
-
| :------ | :------ |
|
|
3167
|
-
| `pointerId` | *number* |
|
|
3168
|
-
|
|
3169
|
-
**Returns:** *void*
|
|
3170
|
-
|
|
3171
|
-
Inherited from: HTMLElement.setPointerCapture
|
|
3172
|
-
|
|
3173
|
-
___
|
|
3174
|
-
|
|
3175
|
-
### toggleAttribute
|
|
3176
|
-
|
|
3177
|
-
▸ **toggleAttribute**(`qualifiedName`: *string*, `force?`: *boolean*): *boolean*
|
|
3178
|
-
|
|
3179
|
-
If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
|
|
3180
|
-
|
|
3181
|
-
Returns true if qualifiedName is now present, and false otherwise.
|
|
3182
|
-
|
|
3183
|
-
#### Parameters:
|
|
3184
|
-
|
|
3185
|
-
| Name | Type |
|
|
3186
|
-
| :------ | :------ |
|
|
3187
|
-
| `qualifiedName` | *string* |
|
|
3188
|
-
| `force?` | *boolean* |
|
|
3189
|
-
|
|
3190
|
-
**Returns:** *boolean*
|
|
3191
|
-
|
|
3192
|
-
Inherited from: HTMLElement.toggleAttribute
|
|
3193
|
-
|
|
3194
|
-
___
|
|
3195
|
-
|
|
3196
|
-
### unmountBlock
|
|
3197
|
-
|
|
3198
|
-
▸ **unmountBlock**(`container`: HTMLElement): *void*
|
|
3199
|
-
|
|
3200
|
-
Called when the widget is unmounted from the DOM.
|
|
3201
|
-
|
|
3202
|
-
Override this in order to implement your unmount logic.
|
|
3203
|
-
|
|
3204
|
-
#### Parameters:
|
|
3205
|
-
|
|
3206
|
-
| Name | Type | Description |
|
|
3207
|
-
| :------ | :------ | :------ |
|
|
3208
|
-
| `container` | HTMLElement | an `HTMLElement` which was used previously to render the widget. |
|
|
3209
|
-
|
|
3210
|
-
**Returns:** *void*
|
|
3211
|
-
|
|
3212
|
-
___
|
|
3213
|
-
|
|
3214
|
-
### webkitMatchesSelector
|
|
3215
|
-
|
|
3216
|
-
▸ **webkitMatchesSelector**(`selectors`: *string*): *boolean*
|
|
3217
|
-
|
|
3218
|
-
#### Parameters:
|
|
3219
|
-
|
|
3220
|
-
| Name | Type |
|
|
3221
|
-
| :------ | :------ |
|
|
3222
|
-
| `selectors` | *string* |
|
|
3223
|
-
|
|
3224
|
-
**Returns:** *boolean*
|
|
3225
|
-
|
|
3226
|
-
Inherited from: HTMLElement.webkitMatchesSelector
|