@markuplint/ml-core 3.14.0 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/lib/index.d.ts +11 -1
  2. package/lib/ml-core.d.ts +1 -1
  3. package/lib/ml-dom/helper/create-node.d.ts +5 -1
  4. package/lib/ml-dom/helper/getIndent.d.ts +7 -7
  5. package/lib/ml-dom/helper/walkers.d.ts +14 -4
  6. package/lib/ml-dom/manipulations/child-node-methods.d.ts +18 -5
  7. package/lib/ml-dom/manipulations/get-children.d.ts +3 -1
  8. package/lib/ml-dom/node/attr.d.ts +93 -90
  9. package/lib/ml-dom/node/block.d.ts +35 -31
  10. package/lib/ml-dom/node/character-data.d.ts +59 -52
  11. package/lib/ml-dom/node/child-node.d.ts +9 -2
  12. package/lib/ml-dom/node/comment.d.ts +15 -12
  13. package/lib/ml-dom/node/document-fragment.d.ts +22 -19
  14. package/lib/ml-dom/node/document-type.d.ts +34 -31
  15. package/lib/ml-dom/node/document.d.ts +1601 -1584
  16. package/lib/ml-dom/node/dom-token-list.d.ts +26 -26
  17. package/lib/ml-dom/node/element.d.ts +1943 -1937
  18. package/lib/ml-dom/node/named-node-map.d.ts +44 -39
  19. package/lib/ml-dom/node/node-list.d.ts +9 -3
  20. package/lib/ml-dom/node/node-store.d.ts +8 -3
  21. package/lib/ml-dom/node/node.d.ts +491 -471
  22. package/lib/ml-dom/node/parent-node.d.ts +66 -57
  23. package/lib/ml-dom/node/rule-mapper.d.ts +7 -7
  24. package/lib/ml-dom/node/text.d.ts +49 -46
  25. package/lib/ml-dom/node/types.d.ts +80 -12
  26. package/lib/ml-dom/node/unexpected-call-error.d.ts +1 -2
  27. package/lib/ml-dom/token/token.d.ts +44 -44
  28. package/lib/ml-rule/create-rule.d.ts +3 -1
  29. package/lib/ml-rule/create-test-rule.d.ts +5 -3
  30. package/lib/ml-rule/ml-rule-context.d.ts +55 -47
  31. package/lib/ml-rule/ml-rule.d.ts +33 -23
  32. package/lib/ml-rule/types.d.ts +31 -13
  33. package/lib/plugin/plugin.d.ts +3 -1
  34. package/lib/plugin/types.d.ts +5 -5
  35. package/lib/ruleset/index.d.ts +4 -4
  36. package/lib/test/index.d.ts +19 -7
  37. package/lib/types.d.ts +8 -8
  38. package/lib/utils/get-location-from-chars.d.ts +9 -4
  39. package/package.json +11 -11
@@ -9,1941 +9,1947 @@ import { MLToken } from '../token/token';
9
9
  import { MLAttr } from './attr';
10
10
  import { MLDomTokenList } from './dom-token-list';
11
11
  import { MLParentNode } from './parent-node';
12
- export declare class MLElement<T extends RuleConfigValue, O extends PlainData = undefined> extends MLParentNode<T, O, MLASTElement> implements Element, HTMLOrSVGElement, HTMLElement {
13
- #private;
14
- readonly closeTag: MLToken | null;
15
- readonly elementType: ElementType;
16
- readonly endSpace: MLToken | null;
17
- readonly hasSpreadAttr: boolean;
18
- readonly isForeignElement: boolean;
19
- readonly isOmitted: boolean;
20
- readonly namespaceURI: NamespaceURI;
21
- readonly ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
22
- readonly ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
23
- readonly ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
24
- readonly ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
25
- pretenderContext: PretenderContext<MLElement<T, O>, T, O> | null;
26
- readonly selfClosingSolidus: MLToken | null;
27
- constructor(astNode: MLASTElement, document: MLDocument<T, O>);
28
- /**
29
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
30
- *
31
- * @deprecated
32
- * @unsupported
33
- * @implements DOM API: `Element`
34
- */
35
- get accessKey(): string;
36
- /**
37
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
38
- *
39
- * @deprecated
40
- * @unsupported
41
- * @implements DOM API: `Element`
42
- */
43
- get accessKeyLabel(): string;
44
- /**
45
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
46
- *
47
- * @deprecated
48
- * @unsupported
49
- * @implements DOM API: `Element`
50
- */
51
- get ariaAtomic(): string | null;
52
- /**
53
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
54
- *
55
- * @deprecated
56
- * @unsupported
57
- * @implements DOM API: `Element`
58
- */
59
- get ariaAutoComplete(): string | null;
60
- /**
61
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
62
- *
63
- * @deprecated
64
- * @unsupported
65
- * @implements DOM API: `Element`
66
- */
67
- get ariaBusy(): string | null;
68
- /**
69
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
70
- *
71
- * @deprecated
72
- * @unsupported
73
- * @implements DOM API: `Element`
74
- */
75
- get ariaChecked(): string | null;
76
- /**
77
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
78
- *
79
- * @deprecated
80
- * @unsupported
81
- * @implements DOM API: `Element`
82
- */
83
- get ariaColCount(): string | null;
84
- /**
85
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
86
- *
87
- * @deprecated
88
- * @unsupported
89
- * @implements DOM API: `Element`
90
- */
91
- get ariaColIndex(): string | null;
92
- /**
93
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
94
- *
95
- * @deprecated
96
- * @unsupported
97
- * @implements DOM API: `Element`
98
- */
99
- get ariaColIndexText(): string | null;
100
- /**
101
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
102
- *
103
- * @deprecated
104
- * @unsupported
105
- * @implements DOM API: `Element`
106
- */
107
- get ariaColSpan(): string | null;
108
- /**
109
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
110
- *
111
- * @deprecated
112
- * @unsupported
113
- * @implements DOM API: `Element`
114
- */
115
- get ariaCurrent(): string | null;
116
- /**
117
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
118
- *
119
- * @deprecated
120
- * @unsupported
121
- * @implements DOM API: `Element`
122
- */
123
- get ariaDisabled(): string | null;
124
- /**
125
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
126
- *
127
- * @deprecated
128
- * @unsupported
129
- * @implements DOM API: `Element`
130
- */
131
- get ariaExpanded(): string | null;
132
- /**
133
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
134
- *
135
- * @deprecated
136
- * @unsupported
137
- * @implements DOM API: `Element`
138
- */
139
- get ariaHasPopup(): string | null;
140
- /**
141
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
142
- *
143
- * @deprecated
144
- * @unsupported
145
- * @implements DOM API: `Element`
146
- */
147
- get ariaHidden(): string | null;
148
- /**
149
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
150
- *
151
- * @deprecated
152
- * @unsupported
153
- * @implements DOM API: `Element`
154
- */
155
- get ariaInvalid(): string | null;
156
- /**
157
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
158
- *
159
- * @deprecated
160
- * @unsupported
161
- * @implements DOM API: `Element`
162
- */
163
- get ariaKeyShortcuts(): string | null;
164
- /**
165
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
166
- *
167
- * @deprecated
168
- * @unsupported
169
- * @implements DOM API: `Element`
170
- */
171
- get ariaLabel(): string | null;
172
- /**
173
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
174
- *
175
- * @deprecated
176
- * @unsupported
177
- * @implements DOM API: `Element`
178
- */
179
- get ariaLevel(): string | null;
180
- /**
181
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
182
- *
183
- * @deprecated
184
- * @unsupported
185
- * @implements DOM API: `Element`
186
- */
187
- get ariaLive(): string | null;
188
- /**
189
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
190
- *
191
- * @deprecated
192
- * @unsupported
193
- * @implements DOM API: `Element`
194
- */
195
- get ariaModal(): string | null;
196
- /**
197
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
198
- *
199
- * @deprecated
200
- * @unsupported
201
- * @implements DOM API: `Element`
202
- */
203
- get ariaMultiLine(): string | null;
204
- /**
205
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
206
- *
207
- * @deprecated
208
- * @unsupported
209
- * @implements DOM API: `Element`
210
- */
211
- get ariaMultiSelectable(): string | null;
212
- /**
213
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
214
- *
215
- * @deprecated
216
- * @unsupported
217
- * @implements DOM API: `Element`
218
- */
219
- get ariaOrientation(): string | null;
220
- /**
221
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
222
- *
223
- * @deprecated
224
- * @unsupported
225
- * @implements DOM API: `Element`
226
- */
227
- get ariaPlaceholder(): string | null;
228
- /**
229
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
230
- *
231
- * @deprecated
232
- * @unsupported
233
- * @implements DOM API: `Element`
234
- */
235
- get ariaPosInSet(): string | null;
236
- /**
237
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
238
- *
239
- * @deprecated
240
- * @unsupported
241
- * @implements DOM API: `Element`
242
- */
243
- get ariaPressed(): string | null;
244
- /**
245
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
246
- *
247
- * @deprecated
248
- * @unsupported
249
- * @implements DOM API: `Element`
250
- */
251
- get ariaReadOnly(): string | null;
252
- /**
253
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
254
- *
255
- * @deprecated
256
- * @unsupported
257
- * @implements DOM API: `Element`
258
- */
259
- get ariaRequired(): string | null;
260
- /**
261
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
262
- *
263
- * @deprecated
264
- * @unsupported
265
- * @implements DOM API: `Element`
266
- */
267
- get ariaRoleDescription(): string | null;
268
- /**
269
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
270
- *
271
- * @deprecated
272
- * @unsupported
273
- * @implements DOM API: `Element`
274
- */
275
- get ariaRowCount(): string | null;
276
- /**
277
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
278
- *
279
- * @deprecated
280
- * @unsupported
281
- * @implements DOM API: `Element`
282
- */
283
- get ariaRowIndex(): string | null;
284
- /**
285
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
286
- *
287
- * @deprecated
288
- * @unsupported
289
- * @implements DOM API: `Element`
290
- */
291
- get ariaRowIndexText(): string | null;
292
- /**
293
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
294
- *
295
- * @deprecated
296
- * @unsupported
297
- * @implements DOM API: `Element`
298
- */
299
- get ariaRowSpan(): string | null;
300
- /**
301
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
302
- *
303
- * @deprecated
304
- * @unsupported
305
- * @implements DOM API: `Element`
306
- */
307
- get ariaSelected(): string | null;
308
- /**
309
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
310
- *
311
- * @deprecated
312
- * @unsupported
313
- * @implements DOM API: `Element`
314
- */
315
- get ariaSetSize(): string | null;
316
- /**
317
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
318
- *
319
- * @deprecated
320
- * @unsupported
321
- * @implements DOM API: `Element`
322
- */
323
- get ariaSort(): string | null;
324
- /**
325
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
326
- *
327
- * @deprecated
328
- * @unsupported
329
- * @implements DOM API: `Element`
330
- */
331
- get ariaValueMax(): string | null;
332
- /**
333
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
334
- *
335
- * @deprecated
336
- * @unsupported
337
- * @implements DOM API: `Element`
338
- */
339
- get ariaValueMin(): string | null;
340
- /**
341
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
342
- *
343
- * @deprecated
344
- * @unsupported
345
- * @implements DOM API: `Element`
346
- */
347
- get ariaValueNow(): string | null;
348
- /**
349
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
350
- *
351
- * @deprecated
352
- * @unsupported
353
- * @implements DOM API: `Element`
354
- */
355
- get ariaValueText(): string | null;
356
- /**
357
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
358
- *
359
- * @unsupported
360
- * @implements DOM API: `Element`
361
- * @see https://dom.spec.whatwg.org/#dom-slotable-assignedslot
362
- */
363
- get assignedSlot(): HTMLSlotElement | null;
364
- get attributeStyleMap(): StylePropertyMap;
365
- /**
366
- * @implements DOM API: `Element`
367
- * @see https://dom.spec.whatwg.org/#dom-element-attributes
368
- */
369
- get attributes(): MLNamedNodeMap<T, O>;
370
- /**
371
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
372
- *
373
- * @deprecated
374
- * @unsupported
375
- * @implements DOM API: `Element`
376
- */
377
- get autocapitalize(): string;
378
- /**
379
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
380
- *
381
- * @deprecated
382
- * @unsupported
383
- * @implements DOM API: `Element`
384
- */
385
- get autofocus(): boolean;
386
- /**
387
- * @implements DOM API: `Element`
388
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-classlist%E2%91%A0
389
- */
390
- get classList(): MLDomTokenList;
391
- /**
392
- * @implements DOM API: `Element`
393
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-classname%E2%91%A0
394
- */
395
- get className(): string;
396
- /**
397
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
398
- *
399
- * @unsupported
400
- * @implements DOM API: `Element`
401
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientheight-1
402
- */
403
- get clientHeight(): number;
404
- /**
405
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
406
- *
407
- * @unsupported
408
- * @implements DOM API: `Element`
409
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientleft-1
410
- */
411
- get clientLeft(): number;
412
- /**
413
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
414
- *
415
- * @unsupported
416
- * @implements DOM API: `Element`
417
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clienttop-1
418
- */
419
- get clientTop(): number;
420
- /**
421
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
422
- *
423
- * @unsupported
424
- * @implements DOM API: `Element`
425
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientwidth-1
426
- */
427
- get clientWidth(): number;
428
- /**
429
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
430
- *
431
- * @deprecated
432
- * @unsupported
433
- * @implements DOM API: `Element`
434
- */
435
- get contentEditable(): string;
436
- /**
437
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
438
- *
439
- * @deprecated
440
- * @unsupported
441
- * @implements DOM API: `Element`
442
- */
443
- get dataset(): DOMStringMap;
444
- /**
445
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
446
- *
447
- * @deprecated
448
- * @unsupported
449
- * @implements DOM API: `Element`
450
- */
451
- get dir(): string;
452
- /**
453
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
454
- *
455
- * @deprecated
456
- * @unsupported
457
- * @implements DOM API: `Element`
458
- */
459
- get draggable(): boolean;
460
- /**
461
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
462
- *
463
- * @deprecated
464
- * @unsupported
465
- * @implements DOM API: `Element`
466
- */
467
- get enterKeyHint(): string;
468
- /**
469
- * @implements `@markuplint/ml-core` API: `MLElement`
470
- */
471
- get fixedNodeName(): string;
472
- /**
473
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
474
- *
475
- * @deprecated
476
- * @unsupported
477
- * @implements DOM API: `Element`
478
- */
479
- get hidden(): boolean;
480
- /**
481
- * @implements DOM API: `Element`
482
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-id%E2%91%A0
483
- */
484
- get id(): string;
485
- /**
486
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
487
- *
488
- * @deprecated
489
- * @unsupported
490
- * @implements DOM API: `Element`
491
- * @see https://html.spec.whatwg.org/multipage/interaction.html#dom-inert
492
- */
493
- get inert(): boolean;
494
- /**
495
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
496
- *
497
- * @unsupported
498
- * @implements DOM API: `Element`
499
- * @see https://w3c.github.io/DOM-Parsing/#dom-innerhtml-innerhtml
500
- */
501
- get innerHTML(): string;
502
- /**
503
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
504
- *
505
- * @deprecated
506
- * @unsupported
507
- * @implements DOM API: `Element`
508
- */
509
- get innerText(): string;
510
- /**
511
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
512
- *
513
- * @deprecated
514
- * @unsupported
515
- * @implements DOM API: `Element`
516
- */
517
- get inputMode(): string;
518
- /**
519
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
520
- *
521
- * @deprecated
522
- * @unsupported
523
- * @implements DOM API: `Element`
524
- */
525
- get isContentEditable(): boolean;
526
- /**
527
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
528
- *
529
- * @deprecated
530
- * @unsupported
531
- * @implements DOM API: `Element`
532
- */
533
- get lang(): string;
534
- /**
535
- * Returns a lowercase name if it is an HTML element.
536
- *
537
- * ```html
538
- * <div> => "div"
539
- * <DIV> => "div"
540
- * <svg> => "svg"
541
- * <foreignObject> => "foreignObject"
542
- * <x-foo> => "x-foo"
543
- * <X-FOO> => "x-foo"
544
- * ```
545
- *
546
- * @implements DOM API: `Element`
547
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-localname%E2%91%A0
548
- */
549
- get localName(): string;
550
- /**
551
- * The element immediately following the specified one in its parent's children list.
552
- *
553
- * @readonly
554
- * @implements DOM API: `Element`
555
- * @see https://dom.spec.whatwg.org/#ref-for-dom-nondocumenttypechildnode-nextelementsibling%E2%91%A1
556
- */
557
- get nextElementSibling(): MLElement<T, O> | null;
558
- /**
559
- * Returns a string appropriate for the type of node as `Element`
560
- *
561
- * @see https://dom.spec.whatwg.org/#ref-for-element%E2%91%A2%E2%93%AA
562
- */
563
- get nodeName(): string;
564
- /**
565
- * Returns a number appropriate for the type of `Element`
566
- */
567
- get nodeType(): ElementNodeType;
568
- /**
569
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
570
- *
571
- * @deprecated
572
- * @unsupported
573
- * @implements DOM API: `Element`
574
- */
575
- get nonce(): string | undefined;
576
- /**
577
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
578
- *
579
- * @deprecated
580
- * @unsupported
581
- * @implements DOM API: `Element`
582
- */
583
- get offsetHeight(): number;
584
- /**
585
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
586
- *
587
- * @deprecated
588
- * @unsupported
589
- * @implements DOM API: `Element`
590
- */
591
- get offsetLeft(): number;
592
- /**
593
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
594
- *
595
- * @deprecated
596
- * @unsupported
597
- * @implements DOM API: `Element`
598
- */
599
- get offsetParent(): Element | null;
600
- /**
601
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
602
- *
603
- * @deprecated
604
- * @unsupported
605
- * @implements DOM API: `Element`
606
- */
607
- get offsetTop(): number;
608
- /**
609
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
610
- *
611
- * @deprecated
612
- * @unsupported
613
- * @implements DOM API: `Element`
614
- */
615
- get offsetWidth(): number;
616
- /**
617
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
618
- *
619
- * @deprecated
620
- * @unsupported
621
- * @implements DOM API: `Element`
622
- */
623
- get onabort(): ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
624
- /**
625
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
626
- *
627
- * @deprecated
628
- * @unsupported
629
- * @implements DOM API: `Element`
630
- */
631
- get onanimationcancel(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
632
- /**
633
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
634
- *
635
- * @deprecated
636
- * @unsupported
637
- * @implements DOM API: `Element`
638
- */
639
- get onanimationend(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
640
- /**
641
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
642
- *
643
- * @deprecated
644
- * @unsupported
645
- * @implements DOM API: `Element`
646
- */
647
- get onanimationiteration(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
648
- /**
649
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
650
- *
651
- * @deprecated
652
- * @unsupported
653
- * @implements DOM API: `Element`
654
- */
655
- get onanimationstart(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
656
- /**
657
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
658
- *
659
- * @deprecated
660
- * @unsupported
661
- * @implements DOM API: `Element`
662
- */
663
- get onauxclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
664
- /**
665
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
666
- *
667
- * @deprecated
668
- * @unsupported
669
- * @implements DOM API: `Element`
670
- */
671
- get onbeforeinput(): ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
672
- /**
673
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
674
- *
675
- * @deprecated
676
- * @unsupported
677
- * @implements DOM API: `Element`
678
- */
679
- get onblur(): ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
680
- /**
681
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
682
- *
683
- * @deprecated
684
- * @unsupported
685
- * @implements DOM API: `Element`
686
- */
687
- get oncancel(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
688
- /**
689
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
690
- *
691
- * @deprecated
692
- * @unsupported
693
- * @implements DOM API: `Element`
694
- */
695
- get oncanplay(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
696
- /**
697
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
698
- *
699
- * @deprecated
700
- * @unsupported
701
- * @implements DOM API: `Element`
702
- */
703
- get oncanplaythrough(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
704
- /**
705
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
706
- *
707
- * @deprecated
708
- * @unsupported
709
- * @implements DOM API: `Element`
710
- */
711
- get onchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
712
- /**
713
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
714
- *
715
- * @deprecated
716
- * @unsupported
717
- * @implements DOM API: `Element`
718
- */
719
- get onclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
720
- /**
721
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
722
- *
723
- * @deprecated
724
- * @unsupported
725
- * @implements DOM API: `Element`
726
- */
727
- get onclose(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
728
- /**
729
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
730
- *
731
- * @deprecated
732
- * @unsupported
733
- * @implements DOM API: `Element`
734
- */
735
- get oncontextmenu(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
736
- /**
737
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
738
- *
739
- * @deprecated
740
- * @unsupported
741
- * @implements DOM API: `Element`
742
- */
743
- get oncopy(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
744
- /**
745
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
746
- *
747
- * @deprecated
748
- * @unsupported
749
- * @implements DOM API: `Element`
750
- */
751
- get oncuechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
752
- /**
753
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
754
- *
755
- * @deprecated
756
- * @unsupported
757
- * @implements DOM API: `Element`
758
- */
759
- get oncut(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
760
- /**
761
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
762
- *
763
- * @deprecated
764
- * @unsupported
765
- * @implements DOM API: `Element`
766
- */
767
- get ondblclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
768
- /**
769
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
770
- *
771
- * @deprecated
772
- * @unsupported
773
- * @implements DOM API: `Element`
774
- */
775
- get ondrag(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
776
- /**
777
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
778
- *
779
- * @deprecated
780
- * @unsupported
781
- * @implements DOM API: `Element`
782
- */
783
- get ondragend(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
784
- /**
785
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
786
- *
787
- * @deprecated
788
- * @unsupported
789
- * @implements DOM API: `Element`
790
- */
791
- get ondragenter(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
792
- /**
793
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
794
- *
795
- * @deprecated
796
- * @unsupported
797
- * @implements DOM API: `Element`
798
- */
799
- get ondragleave(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
800
- /**
801
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
802
- *
803
- * @deprecated
804
- * @unsupported
805
- * @implements DOM API: `Element`
806
- */
807
- get ondragover(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
808
- /**
809
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
810
- *
811
- * @deprecated
812
- * @unsupported
813
- * @implements DOM API: `Element`
814
- */
815
- get ondragstart(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
816
- /**
817
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
818
- *
819
- * @deprecated
820
- * @unsupported
821
- * @implements DOM API: `Element`
822
- */
823
- get ondrop(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
824
- /**
825
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
826
- *
827
- * @deprecated
828
- * @unsupported
829
- * @implements DOM API: `Element`
830
- */
831
- get ondurationchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
832
- /**
833
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
834
- *
835
- * @deprecated
836
- * @unsupported
837
- * @implements DOM API: `Element`
838
- */
839
- get onemptied(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
840
- /**
841
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
842
- *
843
- * @deprecated
844
- * @unsupported
845
- * @implements DOM API: `Element`
846
- */
847
- get onended(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
848
- /**
849
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
850
- *
851
- * @deprecated
852
- * @unsupported
853
- * @implements DOM API: `Element`
854
- */
855
- get onerror(): OnErrorEventHandler;
856
- /**
857
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
858
- *
859
- * @deprecated
860
- * @unsupported
861
- * @implements DOM API: `Element`
862
- */
863
- get onfocus(): ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
864
- /**
865
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
866
- *
867
- * @deprecated
868
- * @unsupported
869
- * @implements DOM API: `Element`
870
- */
871
- get onformdata(): ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
872
- /**
873
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
874
- *
875
- * @deprecated
876
- * @unsupported
877
- * @implements DOM API: `Element`
878
- */
879
- get onfullscreenchange(): ((this: Element, ev: Event) => any) | null;
880
- /**
881
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
882
- *
883
- * @deprecated
884
- * @unsupported
885
- * @implements DOM API: `Element`
886
- */
887
- get onfullscreenerror(): ((this: Element, ev: Event) => any) | null;
888
- /**
889
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
890
- *
891
- * @deprecated
892
- * @unsupported
893
- * @implements DOM API: `Element`
894
- */
895
- get ongotpointercapture(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
896
- /**
897
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
898
- *
899
- * @deprecated
900
- * @unsupported
901
- * @implements DOM API: `Element`
902
- */
903
- get oninput(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
904
- /**
905
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
906
- *
907
- * @deprecated
908
- * @unsupported
909
- * @implements DOM API: `Element`
910
- */
911
- get oninvalid(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
912
- /**
913
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
914
- *
915
- * @deprecated
916
- * @unsupported
917
- * @implements DOM API: `Element`
918
- */
919
- get onkeydown(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
920
- /**
921
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
922
- *
923
- * @deprecated
924
- * @unsupported
925
- * @implements DOM API: `Element`
926
- */
927
- get onkeypress(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
928
- /**
929
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
930
- *
931
- * @deprecated
932
- * @unsupported
933
- * @implements DOM API: `Element`
934
- */
935
- get onkeyup(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
936
- /**
937
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
938
- *
939
- * @deprecated
940
- * @unsupported
941
- * @implements DOM API: `Element`
942
- */
943
- get onload(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
944
- /**
945
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
946
- *
947
- * @deprecated
948
- * @unsupported
949
- * @implements DOM API: `Element`
950
- */
951
- get onloadeddata(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
952
- /**
953
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
954
- *
955
- * @deprecated
956
- * @unsupported
957
- * @implements DOM API: `Element`
958
- */
959
- get onloadedmetadata(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
960
- /**
961
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
962
- *
963
- * @deprecated
964
- * @unsupported
965
- * @implements DOM API: `Element`
966
- */
967
- get onloadstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
968
- /**
969
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
970
- *
971
- * @deprecated
972
- * @unsupported
973
- * @implements DOM API: `Element`
974
- */
975
- get onlostpointercapture(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
976
- /**
977
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
978
- *
979
- * @deprecated
980
- * @unsupported
981
- * @implements DOM API: `Element`
982
- */
983
- get onmousedown(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
984
- /**
985
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
986
- *
987
- * @deprecated
988
- * @unsupported
989
- * @implements DOM API: `Element`
990
- */
991
- get onmouseenter(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
992
- /**
993
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
994
- *
995
- * @deprecated
996
- * @unsupported
997
- * @implements DOM API: `Element`
998
- */
999
- get onmouseleave(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1000
- /**
1001
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1002
- *
1003
- * @deprecated
1004
- * @unsupported
1005
- * @implements DOM API: `Element`
1006
- */
1007
- get onmousemove(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1008
- /**
1009
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1010
- *
1011
- * @deprecated
1012
- * @unsupported
1013
- * @implements DOM API: `Element`
1014
- */
1015
- get onmouseout(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1016
- /**
1017
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1018
- *
1019
- * @deprecated
1020
- * @unsupported
1021
- * @implements DOM API: `Element`
1022
- */
1023
- get onmouseover(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1024
- /**
1025
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1026
- *
1027
- * @deprecated
1028
- * @unsupported
1029
- * @implements DOM API: `Element`
1030
- */
1031
- get onmouseup(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1032
- /**
1033
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1034
- *
1035
- * @deprecated
1036
- * @unsupported
1037
- * @implements DOM API: `Element`
1038
- */
1039
- get onpaste(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1040
- /**
1041
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1042
- *
1043
- * @deprecated
1044
- * @unsupported
1045
- * @implements DOM API: `Element`
1046
- */
1047
- get onpause(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1048
- /**
1049
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1050
- *
1051
- * @deprecated
1052
- * @unsupported
1053
- * @implements DOM API: `Element`
1054
- */
1055
- get onplay(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1056
- /**
1057
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1058
- *
1059
- * @deprecated
1060
- * @unsupported
1061
- * @implements DOM API: `Element`
1062
- */
1063
- get onplaying(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1064
- /**
1065
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1066
- *
1067
- * @deprecated
1068
- * @unsupported
1069
- * @implements DOM API: `Element`
1070
- */
1071
- get onpointercancel(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1072
- /**
1073
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1074
- *
1075
- * @deprecated
1076
- * @unsupported
1077
- * @implements DOM API: `Element`
1078
- */
1079
- get onpointerdown(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1080
- /**
1081
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1082
- *
1083
- * @deprecated
1084
- * @unsupported
1085
- * @implements DOM API: `Element`
1086
- */
1087
- get onpointerenter(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1088
- /**
1089
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1090
- *
1091
- * @deprecated
1092
- * @unsupported
1093
- * @implements DOM API: `Element`
1094
- */
1095
- get onpointerleave(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1096
- /**
1097
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1098
- *
1099
- * @deprecated
1100
- * @unsupported
1101
- * @implements DOM API: `Element`
1102
- */
1103
- get onpointermove(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1104
- /**
1105
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1106
- *
1107
- * @deprecated
1108
- * @unsupported
1109
- * @implements DOM API: `Element`
1110
- */
1111
- get onpointerout(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1112
- /**
1113
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1114
- *
1115
- * @deprecated
1116
- * @unsupported
1117
- * @implements DOM API: `Element`
1118
- */
1119
- get onpointerover(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1120
- /**
1121
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1122
- *
1123
- * @deprecated
1124
- * @unsupported
1125
- * @implements DOM API: `Element`
1126
- */
1127
- get onpointerup(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1128
- /**
1129
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1130
- *
1131
- * @deprecated
1132
- * @unsupported
1133
- * @implements DOM API: `Element`
1134
- */
1135
- get onprogress(): ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
1136
- /**
1137
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1138
- *
1139
- * @deprecated
1140
- * @unsupported
1141
- * @implements DOM API: `Element`
1142
- */
1143
- get onratechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1144
- /**
1145
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1146
- *
1147
- * @deprecated
1148
- * @unsupported
1149
- * @implements DOM API: `Element`
1150
- */
1151
- get onreset(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1152
- /**
1153
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1154
- *
1155
- * @deprecated
1156
- * @unsupported
1157
- * @implements DOM API: `Element`
1158
- */
1159
- get onresize(): ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1160
- /**
1161
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1162
- *
1163
- * @deprecated
1164
- * @unsupported
1165
- * @implements DOM API: `Element`
1166
- */
1167
- get onscroll(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1168
- get onscrollend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1169
- /**
1170
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1171
- *
1172
- * @deprecated
1173
- * @unsupported
1174
- * @implements DOM API: `Element`
1175
- */
1176
- get onsecuritypolicyviolation(): ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1177
- /**
1178
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1179
- *
1180
- * @deprecated
1181
- * @unsupported
1182
- * @implements DOM API: `Element`
1183
- */
1184
- get onseeked(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1185
- /**
1186
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1187
- *
1188
- * @deprecated
1189
- * @unsupported
1190
- * @implements DOM API: `Element`
1191
- */
1192
- get onseeking(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1193
- /**
1194
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1195
- *
1196
- * @deprecated
1197
- * @unsupported
1198
- * @implements DOM API: `Element`
1199
- */
1200
- get onselect(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1201
- /**
1202
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1203
- *
1204
- * @deprecated
1205
- * @unsupported
1206
- * @implements DOM API: `Element`
1207
- */
1208
- get onselectionchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1209
- /**
1210
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1211
- *
1212
- * @deprecated
1213
- * @unsupported
1214
- * @implements DOM API: `Element`
1215
- */
1216
- get onselectstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1217
- /**
1218
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1219
- *
1220
- * @deprecated
1221
- * @unsupported
1222
- * @implements DOM API: `Element`
1223
- */
1224
- get onslotchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1225
- /**
1226
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1227
- *
1228
- * @deprecated
1229
- * @unsupported
1230
- * @implements DOM API: `Element`
1231
- */
1232
- get onstalled(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1233
- /**
1234
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1235
- *
1236
- * @deprecated
1237
- * @unsupported
1238
- * @implements DOM API: `Element`
1239
- */
1240
- get onsubmit(): ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1241
- /**
1242
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1243
- *
1244
- * @deprecated
1245
- * @unsupported
1246
- * @implements DOM API: `Element`
1247
- */
1248
- get onsuspend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1249
- /**
1250
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1251
- *
1252
- * @deprecated
1253
- * @unsupported
1254
- * @implements DOM API: `Element`
1255
- */
1256
- get ontimeupdate(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1257
- /**
1258
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1259
- *
1260
- * @deprecated
1261
- * @unsupported
1262
- * @implements DOM API: `Element`
1263
- */
1264
- get ontoggle(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1265
- /**
1266
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1267
- *
1268
- * @deprecated
1269
- * @unsupported
1270
- * @implements DOM API: `Element`
1271
- */
1272
- get ontransitioncancel(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1273
- /**
1274
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1275
- *
1276
- * @deprecated
1277
- * @unsupported
1278
- * @implements DOM API: `Element`
1279
- */
1280
- get ontransitionend(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1281
- /**
1282
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1283
- *
1284
- * @deprecated
1285
- * @unsupported
1286
- * @implements DOM API: `Element`
1287
- */
1288
- get ontransitionrun(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1289
- /**
1290
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1291
- *
1292
- * @deprecated
1293
- * @unsupported
1294
- * @implements DOM API: `Element`
1295
- */
1296
- get ontransitionstart(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1297
- /**
1298
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1299
- *
1300
- * @deprecated
1301
- * @unsupported
1302
- * @implements DOM API: `Element`
1303
- */
1304
- get onvolumechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1305
- /**
1306
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1307
- *
1308
- * @deprecated
1309
- * @unsupported
1310
- * @implements DOM API: `Element`
1311
- */
1312
- get onwaiting(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1313
- /**
1314
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1315
- *
1316
- * @deprecated
1317
- * @unsupported
1318
- * @implements DOM API: `Element`
1319
- */
1320
- get onwebkitanimationend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1321
- /**
1322
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1323
- *
1324
- * @deprecated
1325
- * @unsupported
1326
- * @implements DOM API: `Element`
1327
- */
1328
- get onwebkitanimationiteration(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1329
- /**
1330
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1331
- *
1332
- * @deprecated
1333
- * @unsupported
1334
- * @implements DOM API: `Element`
1335
- */
1336
- get onwebkitanimationstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1337
- /**
1338
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1339
- *
1340
- * @deprecated
1341
- * @unsupported
1342
- * @implements DOM API: `Element`
1343
- */
1344
- get onwebkittransitionend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1345
- /**
1346
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1347
- *
1348
- * @deprecated
1349
- * @unsupported
1350
- * @implements DOM API: `Element`
1351
- */
1352
- get onwheel(): ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1353
- /**
1354
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1355
- *
1356
- * @unsupported
1357
- * @implements DOM API: `Element`
1358
- * @see https://w3c.github.io/DOM-Parsing/#dom-element-outerhtml
1359
- */
1360
- get outerHTML(): string;
1361
- /**
1362
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1363
- *
1364
- * @deprecated
1365
- * @unsupported
1366
- * @implements DOM API: `Element`
1367
- */
1368
- get outerText(): string;
1369
- /**
1370
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1371
- *
1372
- * @unsupported
1373
- * @implements DOM API: `Element`
1374
- * @see https://www.w3.org/TR/css-shadow-parts-1/#idl
1375
- */
1376
- get part(): DOMTokenList;
1377
- /**
1378
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1379
- *
1380
- * @unsupported
1381
- * @implements DOM API: `Element`
1382
- * @see https://html.spec.whatwg.org/multipage/popover.html#dom-popover
1383
- */
1384
- get popover(): string | null;
1385
- /**
1386
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1387
- *
1388
- * @unsupported
1389
- * @implements DOM API: `Element`
1390
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-prefix%E2%91%A0
1391
- */
1392
- get prefix(): string | null;
1393
- /**
1394
- * The element immediately prior the specified one in its parent's children list.
1395
- *
1396
- * @readonly
1397
- * @implements DOM API: `Element`
1398
- * @see https://dom.spec.whatwg.org/#ref-for-dom-nondocumenttypechildnode-previouselementsibling%E2%91%A1
1399
- */
1400
- get previousElementSibling(): MLElement<T, O> | null;
1401
- get raw(): string;
1402
- /**
1403
- * @implements `@markuplint/ml-core` API: `MLElement`
1404
- */
1405
- get rawName(): string;
1406
- /**
1407
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1408
- *
1409
- * @unsupported
1410
- * @implements DOM API: `Element`
1411
- * @see https://w3c.github.io/aria/#ARIAMixin
1412
- */
1413
- get role(): string;
1414
- /**
1415
- * @implements `@markuplint/ml-core` API: `MLNode`
1416
- */
1417
- get rule(): RuleInfo<T, O>;
1418
- /**
1419
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1420
- *
1421
- * @unsupported
1422
- * @implements DOM API: `Element`
1423
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollheight-1
1424
- */
1425
- get scrollHeight(): number;
1426
- /**
1427
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1428
- *
1429
- * @unsupported
1430
- * @implements DOM API: `Element`
1431
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollleft-1
1432
- */
1433
- get scrollLeft(): number;
1434
- /**
1435
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1436
- *
1437
- * @unsupported
1438
- * @implements DOM API: `Element`
1439
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrolltop-1
1440
- */
1441
- get scrollTop(): number;
1442
- /**
1443
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1444
- *
1445
- * @unsupported
1446
- * @implements DOM API: `Element`
1447
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollwidth-1
1448
- */
1449
- get scrollWidth(): number;
1450
- /**
1451
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1452
- *
1453
- * @unsupported
1454
- * @implements DOM API: `Element`
1455
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-shadowroot%E2%91%A0
1456
- */
1457
- get shadowRoot(): ShadowRoot | null;
1458
- /**
1459
- * @implements DOM API: `Element`
1460
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-slot%E2%91%A0
1461
- */
1462
- get slot(): string;
1463
- /**
1464
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1465
- *
1466
- * @deprecated
1467
- * @unsupported
1468
- * @implements DOM API: `Element`
1469
- */
1470
- get spellcheck(): boolean;
1471
- /**
1472
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1473
- *
1474
- * @deprecated
1475
- * @unsupported
1476
- * @implements DOM API: `Element`
1477
- */
1478
- get style(): CSSStyleDeclaration;
1479
- /**
1480
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1481
- *
1482
- * @deprecated
1483
- * @unsupported
1484
- * @implements DOM API: `Element`
1485
- */
1486
- get tabIndex(): number;
1487
- /**
1488
- * Returns the HTML-uppercased qualified name.
1489
- *
1490
- * If this is in the HTML namespace and its node document is an HTML document, then set qualifiedName to qualifiedName in ASCII uppercase.
1491
- *
1492
- * (In markuplint evaluation, the node document always is an HTML document.)
1493
- *
1494
- * ```html
1495
- * <div> => "DIV"
1496
- * <svg> => "svg"
1497
- * <x-foo> => "X-FOO"
1498
- * ```
1499
- *
1500
- * @implements DOM API: `Element`
1501
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-tagname%E2%91%A0
1502
- */
1503
- get tagName(): string;
1504
- get textContent(): string;
1505
- /**
1506
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1507
- *
1508
- * @deprecated
1509
- * @unsupported
1510
- * @implements DOM API: `Element`
1511
- */
1512
- get title(): string;
1513
- /**
1514
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1515
- *
1516
- * @deprecated
1517
- * @unsupported
1518
- * @implements DOM API: `Element`
1519
- */
1520
- get translate(): boolean;
1521
- /**
1522
- * @implements DOM API: `Element`
1523
- */
1524
- after(...nodes: (string | MLElement<any, any>)[]): void;
1525
- /**
1526
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1527
- *
1528
- * @unsupported
1529
- * @implements DOM API: `Element`
1530
- * @see https://www.w3.org/TR/web-animations-1/#dom-animatable-animate
1531
- */
1532
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
1533
- /**
1534
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1535
- *
1536
- * @deprecated
1537
- * @unsupported
1538
- * @implements DOM API: `Element`
1539
- */
1540
- attachInternals(): ElementInternals;
1541
- /**
1542
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1543
- *
1544
- * @unsupported
1545
- * @implements DOM API: `Element`
1546
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-attachshadow%E2%91%A0
1547
- */
1548
- attachShadow(init: ShadowRootInit): ShadowRoot;
1549
- /**
1550
- * @implements DOM API: `Element`
1551
- */
1552
- before(...nodes: (string | MLElement<any, any>)[]): void;
1553
- /**
1554
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1555
- *
1556
- * @deprecated
1557
- * @unsupported
1558
- * @implements DOM API: `Element`
1559
- */
1560
- blur(): void;
1561
- /**
1562
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1563
- *
1564
- * @deprecated
1565
- * @unsupported
1566
- * @implements DOM API: `Element`
1567
- */
1568
- checkVisibility(options?: CheckVisibilityOptions): boolean;
1569
- /**
1570
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1571
- *
1572
- * @deprecated
1573
- * @unsupported
1574
- * @implements DOM API: `Element`
1575
- */
1576
- click(): void;
1577
- /**
1578
- * @implements DOM API: `Element`
1579
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-closest%E2%91%A0
1580
- */
1581
- closest(selectors: string): MLElement<T, O> | null;
1582
- /**
1583
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1584
- *
1585
- * @unsupported
1586
- * @implements DOM API: `Element`
1587
- */
1588
- computedStyleMap(): StylePropertyMapReadOnly;
1589
- fixNodeName(name: string): void;
1590
- /**
1591
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1592
- *
1593
- * @deprecated
1594
- * @unsupported
1595
- * @implements DOM API: `Element`
1596
- */
1597
- focus(options?: FocusOptions): void;
1598
- /**
1599
- * @implements `@markuplint/ml-core` API: `MLElement`
1600
- */
1601
- getAccessibleName(version: ARIAVersion): string;
1602
- /**
1603
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1604
- *
1605
- * @unsupported
1606
- * @implements DOM API: `Element`
1607
- * @see https://www.w3.org/TR/web-animations-1/#dom-animatable-getanimations
1608
- */
1609
- getAnimations(options?: GetAnimationsOptions): Animation[];
1610
- /**
1611
- * @implements DOM API: `Element`
1612
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getattribute%E2%91%A0
1613
- */
1614
- getAttribute(attrName: string): string | null;
1615
- /**
1616
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1617
- *
1618
- * @unsupported
1619
- * @implements DOM API: `Element`
1620
- * @see https://dom.spec.whatwg.org/#dom-element-getattributenodens
1621
- */
1622
- getAttributeNS(namespace: string | null, localName: string): string | null;
1623
- /**
1624
- * @implements DOM API: `Element`
1625
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getattributenames%E2%91%A0
1626
- */
1627
- getAttributeNames(): string[];
1628
- /**
1629
- * @implements DOM API: `Element`
1630
- * @see https://dom.spec.whatwg.org/#dom-element-getattributenode
1631
- */
1632
- getAttributeNode(qualifiedName: string): MLAttr<T, O> | null;
1633
- /**
1634
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1635
- *
1636
- * @unsupported
1637
- * @implements DOM API: `Element`
1638
- * @see https://dom.spec.whatwg.org/#dom-element-getattributenodens
1639
- */
1640
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
1641
- /**
1642
- * @implements `@markuplint/ml-core` API: `MLElement`
1643
- */
1644
- getAttributePretended(attrName: string): string | null;
1645
- /**
1646
- * @implements `@markuplint/ml-core` API: `MLElement`
1647
- */
1648
- getAttributeToken(attrName: string): MLAttr<T, O>[];
1649
- /**
1650
- * @implements `@markuplint/ml-core` API: `MLElement`
1651
- */
1652
- getAttributeTokens(): readonly MLAttr<T, O>[];
1653
- /**
1654
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1655
- *
1656
- * @unsupported
1657
- * @implements DOM API: `Element`
1658
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-getboundingclientrect-1
1659
- */
1660
- getBoundingClientRect(): DOMRect;
1661
- getChildElementsAndTextNodeWithoutWhitespaces(): (MLElement<T, O> | MLText<T, O>)[];
1662
- /**
1663
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1664
- *
1665
- * @unsupported
1666
- * @implements DOM API: `Element`
1667
- * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-getclientrects-1
1668
- */
1669
- getClientRects(): DOMRectList;
1670
- /**
1671
- * @implements DOM API: `Element`
1672
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getelementsbyclassname
1673
- */
1674
- getElementsByClassName(classNames: string): HTMLCollectionOf<MLElement<T, O>>;
1675
- /**
1676
- * @implements DOM API: `Element`
1677
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getelementsbyclassname
1678
- */
1679
- getElementsByTagName(qualifiedName: string): ReturnType<(typeof Element)['prototype']['getElementsByTagName']>;
1680
- /**
1681
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1682
- *
1683
- * @unsupported
1684
- * @implements DOM API: `Element`
1685
- * @see https://dom.spec.whatwg.org/#dom-element-getelementsbytagnamens
1686
- */
1687
- getElementsByTagNameNS(namespace: any, localName: any): any;
1688
- /**
1689
- * @implements `@markuplint/ml-core` API: `MLElement`
1690
- */
1691
- getNameLocation(): {
1692
- offset: number;
1693
- line: number;
1694
- col: number;
1695
- };
1696
- /**
1697
- * @implements DOM API: `Element`
1698
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-hasattribute%E2%91%A0
1699
- */
1700
- hasAttribute(qualifiedName: string): boolean;
1701
- /**
1702
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1703
- *
1704
- * @unsupported
1705
- * @implements DOM API: `Element`
1706
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-hasattributens%E2%91%A0
1707
- */
1708
- hasAttributeNS(namespace: string | null, localName: string): boolean;
1709
- /**
1710
- * @implements DOM API: `Element`
1711
- * @see https://dom.spec.whatwg.org/#dom-element-hasattributes
1712
- */
1713
- hasAttributes(): boolean;
1714
- /**
1715
- * @implements `@markuplint/ml-core` API: `MLElement`
1716
- */
1717
- hasMutableAttributes(): boolean;
1718
- /**
1719
- * This element has "Preprocessor Specific Block". In other words, Its children are potentially mutable.
1720
- *
1721
- * @implements `@markuplint/ml-core` API: `MLElement`
1722
- */
1723
- hasMutableChildren(attr?: boolean): boolean;
1724
- /**
1725
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1726
- *
1727
- * @unsupported
1728
- * @implements DOM API: `Element`
1729
- * @see https://www.w3.org/TR/pointerevents2/#dom-element-haspointercapture
1730
- */
1731
- hasPointerCapture(pointerId: number): boolean;
1732
- /**
1733
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1734
- *
1735
- * @unsupported
1736
- * @implements DOM API: `Element`
1737
- * @see https://html.spec.whatwg.org/multipage/popover.html#dom-hidepopover
1738
- */
1739
- hidePopover(): void;
1740
- /**
1741
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1742
- *
1743
- * @unsupported
1744
- * @implements DOM API: `Element`
1745
- * @see https://dom.spec.whatwg.org/#dom-element-insertadjacentelement
1746
- */
1747
- insertAdjacentElement(where: InsertPosition, element: MLElement<T, O>): MLElement<T, O> | null;
1748
- /**
1749
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1750
- *
1751
- * @unsupported
1752
- * @implements DOM API: `Element`
1753
- * @see https://w3c.github.io/DOM-Parsing/#widl-Element-insertAdjacentHTML-void-DOMString-position-DOMString-text
1754
- */
1755
- insertAdjacentHTML(position: InsertPosition, text: string): void;
1756
- /**
1757
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1758
- *
1759
- * @unsupported
1760
- * @implements DOM API: `Element`
1761
- * @see https://dom.spec.whatwg.org/#dom-element-insertadjacenttext
1762
- */
1763
- insertAdjacentText(where: InsertPosition, data: string): void;
1764
- /**
1765
- * @implements `@markuplint/ml-core` API: `MLElement`
1766
- */
1767
- isDescendantByUUIDList(uuidList: readonly string[]): boolean;
1768
- /**
1769
- * @implements `@markuplint/ml-core` API: `MLElement`
1770
- */
1771
- isEmpty(): boolean;
1772
- /**
1773
- * @implements DOM API: `Element`
1774
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-matches%E2%91%A0
1775
- */
1776
- matches(selector: string): boolean;
1777
- /**
1778
- * Pretenders Initialization
1779
- */
1780
- pretending(pretenders: readonly Pretender[]): void;
1781
- /**
1782
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1783
- *
1784
- * @unsupported
1785
- * @implements DOM API: `Element`
1786
- * @see https://www.w3.org/TR/pointerevents2/#dom-element-releasepointercapture
1787
- */
1788
- releasePointerCapture(pointerId: number): void;
1789
- /**
1790
- * @implements DOM API: `Element`
1791
- */
1792
- remove(): void;
1793
- /**
1794
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1795
- *
1796
- * @unsupported
1797
- * @implements DOM API: `Element`
1798
- * @see https://dom.spec.whatwg.org/#dom-element-removeattribute
1799
- */
1800
- removeAttribute(qualifiedName: string): void;
1801
- /**
1802
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1803
- *
1804
- * @unsupported
1805
- * @implements DOM API: `Element`
1806
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-removeattributens%E2%91%A0
1807
- */
1808
- removeAttributeNS(namespace: string | null, localName: string): void;
1809
- /**
1810
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1811
- *
1812
- * @unsupported
1813
- * @implements DOM API: `Element`
1814
- * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-D589198
1815
- */
1816
- removeAttributeNode(attr: Attr): Attr;
1817
- /**
1818
- * @implements DOM API: `Element`
1819
- */
1820
- replaceWith(...nodes: (string | MLElement<any, any>)[]): void;
1821
- /**
1822
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1823
- *
1824
- * @unsupported
1825
- * @implements DOM API: `Element`
1826
- * @see https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen
1827
- */
1828
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
1829
- /**
1830
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1831
- *
1832
- * @unsupported
1833
- * @implements DOM API: `Element`
1834
- * @see https://w3c.github.io/pointerlock/#dom-element-requestpointerlock
1835
- */
1836
- requestPointerLock(): void;
1837
- /**
1838
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1839
- *
1840
- * @unsupported
1841
- * @implements DOM API: `Element`
1842
- * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scroll
1843
- */
1844
- scroll(x?: any, y?: any): void;
1845
- /**
1846
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1847
- *
1848
- * @unsupported
1849
- * @implements DOM API: `Element`
1850
- * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollby
1851
- */
1852
- scrollBy(x?: any, y?: any): void;
1853
- /**
1854
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1855
- *
1856
- * @unsupported
1857
- * @implements DOM API: `Element`
1858
- * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollintoview
1859
- */
1860
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
1861
- /**
1862
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1863
- *
1864
- * @unsupported
1865
- * @implements DOM API: `Element`
1866
- * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollto
1867
- */
1868
- scrollTo(x?: any, y?: any): void;
1869
- /**
1870
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1871
- *
1872
- * @unsupported
1873
- * @implements DOM API: `Element`
1874
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-setattribute%E2%91%A0
1875
- */
1876
- setAttribute(qualifiedName: string, value: string): void;
1877
- /**
1878
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1879
- *
1880
- * @unsupported
1881
- * @implements DOM API: `Element`
1882
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-setattributens%E2%91%A0
1883
- */
1884
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
1885
- /**
1886
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1887
- *
1888
- * @unsupported
1889
- * @implements DOM API: `Element`
1890
- * @see https://dom.spec.whatwg.org/#dom-element-setattributenode
1891
- */
1892
- setAttributeNode(attr: Attr): Attr | null;
1893
- /**
1894
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1895
- *
1896
- * @unsupported
1897
- * @implements DOM API: `Element`
1898
- * @see https://dom.spec.whatwg.org/#dom-element-setattributenodens
1899
- */
1900
- setAttributeNodeNS(attr: Attr): Attr | null;
1901
- /**
1902
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1903
- *
1904
- * @unsupported
1905
- * @implements DOM API: `Element`
1906
- * @see https://www.w3.org/TR/pointerevents2/#idl-def-element-setpointercapture-pointerid
1907
- */
1908
- setPointerCapture(pointerId: number): void;
1909
- /**
1910
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1911
- *
1912
- * @unsupported
1913
- * @implements DOM API: `Element`
1914
- * @see https://html.spec.whatwg.org/multipage/popover.html#dom-showpopover
1915
- */
1916
- showPopover(): void;
1917
- /**
1918
- * @implements `@markuplint/ml-core` API: `MLElement`
1919
- */
1920
- toNormalizeString(): string;
1921
- /**
1922
- * @implements `@markuplint/ml-core` API: `MLElement`
1923
- */
1924
- toString(): string;
1925
- /**
1926
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1927
- *
1928
- * @unsupported
1929
- * @implements DOM API: `Element`
1930
- * @see https://dom.spec.whatwg.org/#ref-for-dom-element-toggleattribute%E2%91%A0
1931
- */
1932
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1933
- /**
1934
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1935
- *
1936
- * @unsupported
1937
- * @implements DOM API: `Element`
1938
- * @see https://html.spec.whatwg.org/multipage/popover.html#dom-togglepopover
1939
- */
1940
- togglePopover(force?: boolean): void;
1941
- /**
1942
- * **IT THROWS AN ERROR WHEN CALLING THIS.**
1943
- *
1944
- * @deprecated
1945
- * @unsupported
1946
- * @implements DOM API: `Element`
1947
- */
1948
- webkitMatchesSelector(selectors: string): boolean;
12
+ export declare class MLElement<T extends RuleConfigValue, O extends PlainData = undefined>
13
+ extends MLParentNode<T, O, MLASTElement>
14
+ implements Element, HTMLOrSVGElement, HTMLElement
15
+ {
16
+ #private;
17
+ readonly closeTag: MLToken | null;
18
+ readonly elementType: ElementType;
19
+ readonly endSpace: MLToken | null;
20
+ readonly hasSpreadAttr: boolean;
21
+ readonly isForeignElement: boolean;
22
+ readonly isOmitted: boolean;
23
+ readonly namespaceURI: NamespaceURI;
24
+ readonly ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
25
+ readonly ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
26
+ readonly ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
27
+ readonly ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
28
+ pretenderContext: PretenderContext<MLElement<T, O>, T, O> | null;
29
+ readonly selfClosingSolidus: MLToken | null;
30
+ constructor(astNode: MLASTElement, document: MLDocument<T, O>);
31
+ /**
32
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
33
+ *
34
+ * @deprecated
35
+ * @unsupported
36
+ * @implements DOM API: `Element`
37
+ */
38
+ get accessKey(): string;
39
+ /**
40
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
41
+ *
42
+ * @deprecated
43
+ * @unsupported
44
+ * @implements DOM API: `Element`
45
+ */
46
+ get accessKeyLabel(): string;
47
+ /**
48
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
49
+ *
50
+ * @deprecated
51
+ * @unsupported
52
+ * @implements DOM API: `Element`
53
+ */
54
+ get ariaAtomic(): string | null;
55
+ /**
56
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
57
+ *
58
+ * @deprecated
59
+ * @unsupported
60
+ * @implements DOM API: `Element`
61
+ */
62
+ get ariaAutoComplete(): string | null;
63
+ /**
64
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
65
+ *
66
+ * @deprecated
67
+ * @unsupported
68
+ * @implements DOM API: `Element`
69
+ */
70
+ get ariaBusy(): string | null;
71
+ /**
72
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
73
+ *
74
+ * @deprecated
75
+ * @unsupported
76
+ * @implements DOM API: `Element`
77
+ */
78
+ get ariaChecked(): string | null;
79
+ /**
80
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
81
+ *
82
+ * @deprecated
83
+ * @unsupported
84
+ * @implements DOM API: `Element`
85
+ */
86
+ get ariaColCount(): string | null;
87
+ /**
88
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
89
+ *
90
+ * @deprecated
91
+ * @unsupported
92
+ * @implements DOM API: `Element`
93
+ */
94
+ get ariaColIndex(): string | null;
95
+ /**
96
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
97
+ *
98
+ * @deprecated
99
+ * @unsupported
100
+ * @implements DOM API: `Element`
101
+ */
102
+ get ariaColIndexText(): string | null;
103
+ /**
104
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
105
+ *
106
+ * @deprecated
107
+ * @unsupported
108
+ * @implements DOM API: `Element`
109
+ */
110
+ get ariaColSpan(): string | null;
111
+ /**
112
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
113
+ *
114
+ * @deprecated
115
+ * @unsupported
116
+ * @implements DOM API: `Element`
117
+ */
118
+ get ariaCurrent(): string | null;
119
+ /**
120
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
121
+ *
122
+ * @deprecated
123
+ * @unsupported
124
+ * @implements DOM API: `Element`
125
+ */
126
+ get ariaDisabled(): string | null;
127
+ /**
128
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
129
+ *
130
+ * @deprecated
131
+ * @unsupported
132
+ * @implements DOM API: `Element`
133
+ */
134
+ get ariaExpanded(): string | null;
135
+ /**
136
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
137
+ *
138
+ * @deprecated
139
+ * @unsupported
140
+ * @implements DOM API: `Element`
141
+ */
142
+ get ariaHasPopup(): string | null;
143
+ /**
144
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
145
+ *
146
+ * @deprecated
147
+ * @unsupported
148
+ * @implements DOM API: `Element`
149
+ */
150
+ get ariaHidden(): string | null;
151
+ /**
152
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
153
+ *
154
+ * @deprecated
155
+ * @unsupported
156
+ * @implements DOM API: `Element`
157
+ */
158
+ get ariaInvalid(): string | null;
159
+ /**
160
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
161
+ *
162
+ * @deprecated
163
+ * @unsupported
164
+ * @implements DOM API: `Element`
165
+ */
166
+ get ariaKeyShortcuts(): string | null;
167
+ /**
168
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
169
+ *
170
+ * @deprecated
171
+ * @unsupported
172
+ * @implements DOM API: `Element`
173
+ */
174
+ get ariaLabel(): string | null;
175
+ /**
176
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
177
+ *
178
+ * @deprecated
179
+ * @unsupported
180
+ * @implements DOM API: `Element`
181
+ */
182
+ get ariaLevel(): string | null;
183
+ /**
184
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
185
+ *
186
+ * @deprecated
187
+ * @unsupported
188
+ * @implements DOM API: `Element`
189
+ */
190
+ get ariaLive(): string | null;
191
+ /**
192
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
193
+ *
194
+ * @deprecated
195
+ * @unsupported
196
+ * @implements DOM API: `Element`
197
+ */
198
+ get ariaModal(): string | null;
199
+ /**
200
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
201
+ *
202
+ * @deprecated
203
+ * @unsupported
204
+ * @implements DOM API: `Element`
205
+ */
206
+ get ariaMultiLine(): string | null;
207
+ /**
208
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
209
+ *
210
+ * @deprecated
211
+ * @unsupported
212
+ * @implements DOM API: `Element`
213
+ */
214
+ get ariaMultiSelectable(): string | null;
215
+ /**
216
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
217
+ *
218
+ * @deprecated
219
+ * @unsupported
220
+ * @implements DOM API: `Element`
221
+ */
222
+ get ariaOrientation(): string | null;
223
+ /**
224
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
225
+ *
226
+ * @deprecated
227
+ * @unsupported
228
+ * @implements DOM API: `Element`
229
+ */
230
+ get ariaPlaceholder(): string | null;
231
+ /**
232
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
233
+ *
234
+ * @deprecated
235
+ * @unsupported
236
+ * @implements DOM API: `Element`
237
+ */
238
+ get ariaPosInSet(): string | null;
239
+ /**
240
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
241
+ *
242
+ * @deprecated
243
+ * @unsupported
244
+ * @implements DOM API: `Element`
245
+ */
246
+ get ariaPressed(): string | null;
247
+ /**
248
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
249
+ *
250
+ * @deprecated
251
+ * @unsupported
252
+ * @implements DOM API: `Element`
253
+ */
254
+ get ariaReadOnly(): string | null;
255
+ /**
256
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
257
+ *
258
+ * @deprecated
259
+ * @unsupported
260
+ * @implements DOM API: `Element`
261
+ */
262
+ get ariaRequired(): string | null;
263
+ /**
264
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
265
+ *
266
+ * @deprecated
267
+ * @unsupported
268
+ * @implements DOM API: `Element`
269
+ */
270
+ get ariaRoleDescription(): string | null;
271
+ /**
272
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
273
+ *
274
+ * @deprecated
275
+ * @unsupported
276
+ * @implements DOM API: `Element`
277
+ */
278
+ get ariaRowCount(): string | null;
279
+ /**
280
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
281
+ *
282
+ * @deprecated
283
+ * @unsupported
284
+ * @implements DOM API: `Element`
285
+ */
286
+ get ariaRowIndex(): string | null;
287
+ /**
288
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
289
+ *
290
+ * @deprecated
291
+ * @unsupported
292
+ * @implements DOM API: `Element`
293
+ */
294
+ get ariaRowIndexText(): string | null;
295
+ /**
296
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
297
+ *
298
+ * @deprecated
299
+ * @unsupported
300
+ * @implements DOM API: `Element`
301
+ */
302
+ get ariaRowSpan(): string | null;
303
+ /**
304
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
305
+ *
306
+ * @deprecated
307
+ * @unsupported
308
+ * @implements DOM API: `Element`
309
+ */
310
+ get ariaSelected(): string | null;
311
+ /**
312
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
313
+ *
314
+ * @deprecated
315
+ * @unsupported
316
+ * @implements DOM API: `Element`
317
+ */
318
+ get ariaSetSize(): string | null;
319
+ /**
320
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
321
+ *
322
+ * @deprecated
323
+ * @unsupported
324
+ * @implements DOM API: `Element`
325
+ */
326
+ get ariaSort(): string | null;
327
+ /**
328
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
329
+ *
330
+ * @deprecated
331
+ * @unsupported
332
+ * @implements DOM API: `Element`
333
+ */
334
+ get ariaValueMax(): string | null;
335
+ /**
336
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
337
+ *
338
+ * @deprecated
339
+ * @unsupported
340
+ * @implements DOM API: `Element`
341
+ */
342
+ get ariaValueMin(): string | null;
343
+ /**
344
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
345
+ *
346
+ * @deprecated
347
+ * @unsupported
348
+ * @implements DOM API: `Element`
349
+ */
350
+ get ariaValueNow(): string | null;
351
+ /**
352
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
353
+ *
354
+ * @deprecated
355
+ * @unsupported
356
+ * @implements DOM API: `Element`
357
+ */
358
+ get ariaValueText(): string | null;
359
+ /**
360
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
361
+ *
362
+ * @unsupported
363
+ * @implements DOM API: `Element`
364
+ * @see https://dom.spec.whatwg.org/#dom-slotable-assignedslot
365
+ */
366
+ get assignedSlot(): HTMLSlotElement | null;
367
+ get attributeStyleMap(): StylePropertyMap;
368
+ /**
369
+ * @implements DOM API: `Element`
370
+ * @see https://dom.spec.whatwg.org/#dom-element-attributes
371
+ */
372
+ get attributes(): MLNamedNodeMap<T, O>;
373
+ /**
374
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
375
+ *
376
+ * @deprecated
377
+ * @unsupported
378
+ * @implements DOM API: `Element`
379
+ */
380
+ get autocapitalize(): string;
381
+ /**
382
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
383
+ *
384
+ * @deprecated
385
+ * @unsupported
386
+ * @implements DOM API: `Element`
387
+ */
388
+ get autofocus(): boolean;
389
+ /**
390
+ * @implements DOM API: `Element`
391
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-classlist%E2%91%A0
392
+ */
393
+ get classList(): MLDomTokenList;
394
+ /**
395
+ * @implements DOM API: `Element`
396
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-classname%E2%91%A0
397
+ */
398
+ get className(): string;
399
+ /**
400
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
401
+ *
402
+ * @unsupported
403
+ * @implements DOM API: `Element`
404
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientheight-1
405
+ */
406
+ get clientHeight(): number;
407
+ /**
408
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
409
+ *
410
+ * @unsupported
411
+ * @implements DOM API: `Element`
412
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientleft-1
413
+ */
414
+ get clientLeft(): number;
415
+ /**
416
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
417
+ *
418
+ * @unsupported
419
+ * @implements DOM API: `Element`
420
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clienttop-1
421
+ */
422
+ get clientTop(): number;
423
+ /**
424
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
425
+ *
426
+ * @unsupported
427
+ * @implements DOM API: `Element`
428
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-clientwidth-1
429
+ */
430
+ get clientWidth(): number;
431
+ /**
432
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
433
+ *
434
+ * @deprecated
435
+ * @unsupported
436
+ * @implements DOM API: `Element`
437
+ */
438
+ get contentEditable(): string;
439
+ /**
440
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
441
+ *
442
+ * @deprecated
443
+ * @unsupported
444
+ * @implements DOM API: `Element`
445
+ */
446
+ get dataset(): DOMStringMap;
447
+ /**
448
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
449
+ *
450
+ * @deprecated
451
+ * @unsupported
452
+ * @implements DOM API: `Element`
453
+ */
454
+ get dir(): string;
455
+ /**
456
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
457
+ *
458
+ * @deprecated
459
+ * @unsupported
460
+ * @implements DOM API: `Element`
461
+ */
462
+ get draggable(): boolean;
463
+ /**
464
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
465
+ *
466
+ * @deprecated
467
+ * @unsupported
468
+ * @implements DOM API: `Element`
469
+ */
470
+ get enterKeyHint(): string;
471
+ /**
472
+ * @implements `@markuplint/ml-core` API: `MLElement`
473
+ */
474
+ get fixedNodeName(): string;
475
+ /**
476
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
477
+ *
478
+ * @deprecated
479
+ * @unsupported
480
+ * @implements DOM API: `Element`
481
+ */
482
+ get hidden(): boolean;
483
+ /**
484
+ * @implements DOM API: `Element`
485
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-id%E2%91%A0
486
+ */
487
+ get id(): string;
488
+ /**
489
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
490
+ *
491
+ * @deprecated
492
+ * @unsupported
493
+ * @implements DOM API: `Element`
494
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#dom-inert
495
+ */
496
+ get inert(): boolean;
497
+ /**
498
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
499
+ *
500
+ * @unsupported
501
+ * @implements DOM API: `Element`
502
+ * @see https://w3c.github.io/DOM-Parsing/#dom-innerhtml-innerhtml
503
+ */
504
+ get innerHTML(): string;
505
+ /**
506
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
507
+ *
508
+ * @deprecated
509
+ * @unsupported
510
+ * @implements DOM API: `Element`
511
+ */
512
+ get innerText(): string;
513
+ /**
514
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
515
+ *
516
+ * @deprecated
517
+ * @unsupported
518
+ * @implements DOM API: `Element`
519
+ */
520
+ get inputMode(): string;
521
+ /**
522
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
523
+ *
524
+ * @deprecated
525
+ * @unsupported
526
+ * @implements DOM API: `Element`
527
+ */
528
+ get isContentEditable(): boolean;
529
+ /**
530
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
531
+ *
532
+ * @deprecated
533
+ * @unsupported
534
+ * @implements DOM API: `Element`
535
+ */
536
+ get lang(): string;
537
+ /**
538
+ * Returns a lowercase name if it is an HTML element.
539
+ *
540
+ * ```html
541
+ * <div> => "div"
542
+ * <DIV> => "div"
543
+ * <svg> => "svg"
544
+ * <foreignObject> => "foreignObject"
545
+ * <x-foo> => "x-foo"
546
+ * <X-FOO> => "x-foo"
547
+ * ```
548
+ *
549
+ * @implements DOM API: `Element`
550
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-localname%E2%91%A0
551
+ */
552
+ get localName(): string;
553
+ /**
554
+ * The element immediately following the specified one in its parent's children list.
555
+ *
556
+ * @readonly
557
+ * @implements DOM API: `Element`
558
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-nondocumenttypechildnode-nextelementsibling%E2%91%A1
559
+ */
560
+ get nextElementSibling(): MLElement<T, O> | null;
561
+ /**
562
+ * Returns a string appropriate for the type of node as `Element`
563
+ *
564
+ * @see https://dom.spec.whatwg.org/#ref-for-element%E2%91%A2%E2%93%AA
565
+ */
566
+ get nodeName(): string;
567
+ /**
568
+ * Returns a number appropriate for the type of `Element`
569
+ */
570
+ get nodeType(): ElementNodeType;
571
+ /**
572
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
573
+ *
574
+ * @deprecated
575
+ * @unsupported
576
+ * @implements DOM API: `Element`
577
+ */
578
+ get nonce(): string | undefined;
579
+ /**
580
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
581
+ *
582
+ * @deprecated
583
+ * @unsupported
584
+ * @implements DOM API: `Element`
585
+ */
586
+ get offsetHeight(): number;
587
+ /**
588
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
589
+ *
590
+ * @deprecated
591
+ * @unsupported
592
+ * @implements DOM API: `Element`
593
+ */
594
+ get offsetLeft(): number;
595
+ /**
596
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
597
+ *
598
+ * @deprecated
599
+ * @unsupported
600
+ * @implements DOM API: `Element`
601
+ */
602
+ get offsetParent(): Element | null;
603
+ /**
604
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
605
+ *
606
+ * @deprecated
607
+ * @unsupported
608
+ * @implements DOM API: `Element`
609
+ */
610
+ get offsetTop(): number;
611
+ /**
612
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
613
+ *
614
+ * @deprecated
615
+ * @unsupported
616
+ * @implements DOM API: `Element`
617
+ */
618
+ get offsetWidth(): number;
619
+ /**
620
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
621
+ *
622
+ * @deprecated
623
+ * @unsupported
624
+ * @implements DOM API: `Element`
625
+ */
626
+ get onabort(): ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
627
+ /**
628
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
629
+ *
630
+ * @deprecated
631
+ * @unsupported
632
+ * @implements DOM API: `Element`
633
+ */
634
+ get onanimationcancel(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
635
+ /**
636
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
637
+ *
638
+ * @deprecated
639
+ * @unsupported
640
+ * @implements DOM API: `Element`
641
+ */
642
+ get onanimationend(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
643
+ /**
644
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
645
+ *
646
+ * @deprecated
647
+ * @unsupported
648
+ * @implements DOM API: `Element`
649
+ */
650
+ get onanimationiteration(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
651
+ /**
652
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
653
+ *
654
+ * @deprecated
655
+ * @unsupported
656
+ * @implements DOM API: `Element`
657
+ */
658
+ get onanimationstart(): ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
659
+ /**
660
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
661
+ *
662
+ * @deprecated
663
+ * @unsupported
664
+ * @implements DOM API: `Element`
665
+ */
666
+ get onauxclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
667
+ /**
668
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
669
+ *
670
+ * @deprecated
671
+ * @unsupported
672
+ * @implements DOM API: `Element`
673
+ */
674
+ get onbeforeinput(): ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
675
+ /**
676
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
677
+ *
678
+ * @deprecated
679
+ * @unsupported
680
+ * @implements DOM API: `Element`
681
+ */
682
+ get onblur(): ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
683
+ /**
684
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
685
+ *
686
+ * @deprecated
687
+ * @unsupported
688
+ * @implements DOM API: `Element`
689
+ */
690
+ get oncancel(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
691
+ /**
692
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
693
+ *
694
+ * @deprecated
695
+ * @unsupported
696
+ * @implements DOM API: `Element`
697
+ */
698
+ get oncanplay(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
699
+ /**
700
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
701
+ *
702
+ * @deprecated
703
+ * @unsupported
704
+ * @implements DOM API: `Element`
705
+ */
706
+ get oncanplaythrough(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
707
+ /**
708
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
709
+ *
710
+ * @deprecated
711
+ * @unsupported
712
+ * @implements DOM API: `Element`
713
+ */
714
+ get onchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
715
+ /**
716
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
717
+ *
718
+ * @deprecated
719
+ * @unsupported
720
+ * @implements DOM API: `Element`
721
+ */
722
+ get onclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
723
+ /**
724
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
725
+ *
726
+ * @deprecated
727
+ * @unsupported
728
+ * @implements DOM API: `Element`
729
+ */
730
+ get onclose(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
731
+ /**
732
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
733
+ *
734
+ * @deprecated
735
+ * @unsupported
736
+ * @implements DOM API: `Element`
737
+ */
738
+ get oncontextmenu(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
739
+ /**
740
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
741
+ *
742
+ * @deprecated
743
+ * @unsupported
744
+ * @implements DOM API: `Element`
745
+ */
746
+ get oncopy(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
747
+ /**
748
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
749
+ *
750
+ * @deprecated
751
+ * @unsupported
752
+ * @implements DOM API: `Element`
753
+ */
754
+ get oncuechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
755
+ /**
756
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
757
+ *
758
+ * @deprecated
759
+ * @unsupported
760
+ * @implements DOM API: `Element`
761
+ */
762
+ get oncut(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
763
+ /**
764
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
765
+ *
766
+ * @deprecated
767
+ * @unsupported
768
+ * @implements DOM API: `Element`
769
+ */
770
+ get ondblclick(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
771
+ /**
772
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
773
+ *
774
+ * @deprecated
775
+ * @unsupported
776
+ * @implements DOM API: `Element`
777
+ */
778
+ get ondrag(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
779
+ /**
780
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
781
+ *
782
+ * @deprecated
783
+ * @unsupported
784
+ * @implements DOM API: `Element`
785
+ */
786
+ get ondragend(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
787
+ /**
788
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
789
+ *
790
+ * @deprecated
791
+ * @unsupported
792
+ * @implements DOM API: `Element`
793
+ */
794
+ get ondragenter(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
795
+ /**
796
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
797
+ *
798
+ * @deprecated
799
+ * @unsupported
800
+ * @implements DOM API: `Element`
801
+ */
802
+ get ondragleave(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
803
+ /**
804
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
805
+ *
806
+ * @deprecated
807
+ * @unsupported
808
+ * @implements DOM API: `Element`
809
+ */
810
+ get ondragover(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
811
+ /**
812
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
813
+ *
814
+ * @deprecated
815
+ * @unsupported
816
+ * @implements DOM API: `Element`
817
+ */
818
+ get ondragstart(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
819
+ /**
820
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
821
+ *
822
+ * @deprecated
823
+ * @unsupported
824
+ * @implements DOM API: `Element`
825
+ */
826
+ get ondrop(): ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
827
+ /**
828
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
829
+ *
830
+ * @deprecated
831
+ * @unsupported
832
+ * @implements DOM API: `Element`
833
+ */
834
+ get ondurationchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
835
+ /**
836
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
837
+ *
838
+ * @deprecated
839
+ * @unsupported
840
+ * @implements DOM API: `Element`
841
+ */
842
+ get onemptied(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
843
+ /**
844
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
845
+ *
846
+ * @deprecated
847
+ * @unsupported
848
+ * @implements DOM API: `Element`
849
+ */
850
+ get onended(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
851
+ /**
852
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
853
+ *
854
+ * @deprecated
855
+ * @unsupported
856
+ * @implements DOM API: `Element`
857
+ */
858
+ get onerror(): OnErrorEventHandler;
859
+ /**
860
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
861
+ *
862
+ * @deprecated
863
+ * @unsupported
864
+ * @implements DOM API: `Element`
865
+ */
866
+ get onfocus(): ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
867
+ /**
868
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
869
+ *
870
+ * @deprecated
871
+ * @unsupported
872
+ * @implements DOM API: `Element`
873
+ */
874
+ get onformdata(): ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
875
+ /**
876
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
877
+ *
878
+ * @deprecated
879
+ * @unsupported
880
+ * @implements DOM API: `Element`
881
+ */
882
+ get onfullscreenchange(): ((this: Element, ev: Event) => any) | null;
883
+ /**
884
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
885
+ *
886
+ * @deprecated
887
+ * @unsupported
888
+ * @implements DOM API: `Element`
889
+ */
890
+ get onfullscreenerror(): ((this: Element, ev: Event) => any) | null;
891
+ /**
892
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
893
+ *
894
+ * @deprecated
895
+ * @unsupported
896
+ * @implements DOM API: `Element`
897
+ */
898
+ get ongotpointercapture(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
899
+ /**
900
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
901
+ *
902
+ * @deprecated
903
+ * @unsupported
904
+ * @implements DOM API: `Element`
905
+ */
906
+ get oninput(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
907
+ /**
908
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
909
+ *
910
+ * @deprecated
911
+ * @unsupported
912
+ * @implements DOM API: `Element`
913
+ */
914
+ get oninvalid(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
915
+ /**
916
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
917
+ *
918
+ * @deprecated
919
+ * @unsupported
920
+ * @implements DOM API: `Element`
921
+ */
922
+ get onkeydown(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
923
+ /**
924
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
925
+ *
926
+ * @deprecated
927
+ * @unsupported
928
+ * @implements DOM API: `Element`
929
+ */
930
+ get onkeypress(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
931
+ /**
932
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
933
+ *
934
+ * @deprecated
935
+ * @unsupported
936
+ * @implements DOM API: `Element`
937
+ */
938
+ get onkeyup(): ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
939
+ /**
940
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
941
+ *
942
+ * @deprecated
943
+ * @unsupported
944
+ * @implements DOM API: `Element`
945
+ */
946
+ get onload(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
947
+ /**
948
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
949
+ *
950
+ * @deprecated
951
+ * @unsupported
952
+ * @implements DOM API: `Element`
953
+ */
954
+ get onloadeddata(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
955
+ /**
956
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
957
+ *
958
+ * @deprecated
959
+ * @unsupported
960
+ * @implements DOM API: `Element`
961
+ */
962
+ get onloadedmetadata(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
963
+ /**
964
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
965
+ *
966
+ * @deprecated
967
+ * @unsupported
968
+ * @implements DOM API: `Element`
969
+ */
970
+ get onloadstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
971
+ /**
972
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
973
+ *
974
+ * @deprecated
975
+ * @unsupported
976
+ * @implements DOM API: `Element`
977
+ */
978
+ get onlostpointercapture(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
979
+ /**
980
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
981
+ *
982
+ * @deprecated
983
+ * @unsupported
984
+ * @implements DOM API: `Element`
985
+ */
986
+ get onmousedown(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
987
+ /**
988
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
989
+ *
990
+ * @deprecated
991
+ * @unsupported
992
+ * @implements DOM API: `Element`
993
+ */
994
+ get onmouseenter(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
995
+ /**
996
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
997
+ *
998
+ * @deprecated
999
+ * @unsupported
1000
+ * @implements DOM API: `Element`
1001
+ */
1002
+ get onmouseleave(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1003
+ /**
1004
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1005
+ *
1006
+ * @deprecated
1007
+ * @unsupported
1008
+ * @implements DOM API: `Element`
1009
+ */
1010
+ get onmousemove(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1011
+ /**
1012
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1013
+ *
1014
+ * @deprecated
1015
+ * @unsupported
1016
+ * @implements DOM API: `Element`
1017
+ */
1018
+ get onmouseout(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1019
+ /**
1020
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1021
+ *
1022
+ * @deprecated
1023
+ * @unsupported
1024
+ * @implements DOM API: `Element`
1025
+ */
1026
+ get onmouseover(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1027
+ /**
1028
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1029
+ *
1030
+ * @deprecated
1031
+ * @unsupported
1032
+ * @implements DOM API: `Element`
1033
+ */
1034
+ get onmouseup(): ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1035
+ /**
1036
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1037
+ *
1038
+ * @deprecated
1039
+ * @unsupported
1040
+ * @implements DOM API: `Element`
1041
+ */
1042
+ get onpaste(): ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1043
+ /**
1044
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1045
+ *
1046
+ * @deprecated
1047
+ * @unsupported
1048
+ * @implements DOM API: `Element`
1049
+ */
1050
+ get onpause(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1051
+ /**
1052
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1053
+ *
1054
+ * @deprecated
1055
+ * @unsupported
1056
+ * @implements DOM API: `Element`
1057
+ */
1058
+ get onplay(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1059
+ /**
1060
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1061
+ *
1062
+ * @deprecated
1063
+ * @unsupported
1064
+ * @implements DOM API: `Element`
1065
+ */
1066
+ get onplaying(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1067
+ /**
1068
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1069
+ *
1070
+ * @deprecated
1071
+ * @unsupported
1072
+ * @implements DOM API: `Element`
1073
+ */
1074
+ get onpointercancel(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1075
+ /**
1076
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1077
+ *
1078
+ * @deprecated
1079
+ * @unsupported
1080
+ * @implements DOM API: `Element`
1081
+ */
1082
+ get onpointerdown(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1083
+ /**
1084
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1085
+ *
1086
+ * @deprecated
1087
+ * @unsupported
1088
+ * @implements DOM API: `Element`
1089
+ */
1090
+ get onpointerenter(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1091
+ /**
1092
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1093
+ *
1094
+ * @deprecated
1095
+ * @unsupported
1096
+ * @implements DOM API: `Element`
1097
+ */
1098
+ get onpointerleave(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1099
+ /**
1100
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1101
+ *
1102
+ * @deprecated
1103
+ * @unsupported
1104
+ * @implements DOM API: `Element`
1105
+ */
1106
+ get onpointermove(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1107
+ /**
1108
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1109
+ *
1110
+ * @deprecated
1111
+ * @unsupported
1112
+ * @implements DOM API: `Element`
1113
+ */
1114
+ get onpointerout(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1115
+ /**
1116
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1117
+ *
1118
+ * @deprecated
1119
+ * @unsupported
1120
+ * @implements DOM API: `Element`
1121
+ */
1122
+ get onpointerover(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1123
+ /**
1124
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1125
+ *
1126
+ * @deprecated
1127
+ * @unsupported
1128
+ * @implements DOM API: `Element`
1129
+ */
1130
+ get onpointerup(): ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1131
+ /**
1132
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1133
+ *
1134
+ * @deprecated
1135
+ * @unsupported
1136
+ * @implements DOM API: `Element`
1137
+ */
1138
+ get onprogress(): ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
1139
+ /**
1140
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1141
+ *
1142
+ * @deprecated
1143
+ * @unsupported
1144
+ * @implements DOM API: `Element`
1145
+ */
1146
+ get onratechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1147
+ /**
1148
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1149
+ *
1150
+ * @deprecated
1151
+ * @unsupported
1152
+ * @implements DOM API: `Element`
1153
+ */
1154
+ get onreset(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1155
+ /**
1156
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1157
+ *
1158
+ * @deprecated
1159
+ * @unsupported
1160
+ * @implements DOM API: `Element`
1161
+ */
1162
+ get onresize(): ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1163
+ /**
1164
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1165
+ *
1166
+ * @deprecated
1167
+ * @unsupported
1168
+ * @implements DOM API: `Element`
1169
+ */
1170
+ get onscroll(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1171
+ get onscrollend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1172
+ /**
1173
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1174
+ *
1175
+ * @deprecated
1176
+ * @unsupported
1177
+ * @implements DOM API: `Element`
1178
+ */
1179
+ get onsecuritypolicyviolation(): ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1180
+ /**
1181
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1182
+ *
1183
+ * @deprecated
1184
+ * @unsupported
1185
+ * @implements DOM API: `Element`
1186
+ */
1187
+ get onseeked(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1188
+ /**
1189
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1190
+ *
1191
+ * @deprecated
1192
+ * @unsupported
1193
+ * @implements DOM API: `Element`
1194
+ */
1195
+ get onseeking(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1196
+ /**
1197
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1198
+ *
1199
+ * @deprecated
1200
+ * @unsupported
1201
+ * @implements DOM API: `Element`
1202
+ */
1203
+ get onselect(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1204
+ /**
1205
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1206
+ *
1207
+ * @deprecated
1208
+ * @unsupported
1209
+ * @implements DOM API: `Element`
1210
+ */
1211
+ get onselectionchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1212
+ /**
1213
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1214
+ *
1215
+ * @deprecated
1216
+ * @unsupported
1217
+ * @implements DOM API: `Element`
1218
+ */
1219
+ get onselectstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1220
+ /**
1221
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1222
+ *
1223
+ * @deprecated
1224
+ * @unsupported
1225
+ * @implements DOM API: `Element`
1226
+ */
1227
+ get onslotchange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1228
+ /**
1229
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1230
+ *
1231
+ * @deprecated
1232
+ * @unsupported
1233
+ * @implements DOM API: `Element`
1234
+ */
1235
+ get onstalled(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1236
+ /**
1237
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1238
+ *
1239
+ * @deprecated
1240
+ * @unsupported
1241
+ * @implements DOM API: `Element`
1242
+ */
1243
+ get onsubmit(): ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1244
+ /**
1245
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1246
+ *
1247
+ * @deprecated
1248
+ * @unsupported
1249
+ * @implements DOM API: `Element`
1250
+ */
1251
+ get onsuspend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1252
+ /**
1253
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1254
+ *
1255
+ * @deprecated
1256
+ * @unsupported
1257
+ * @implements DOM API: `Element`
1258
+ */
1259
+ get ontimeupdate(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1260
+ /**
1261
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1262
+ *
1263
+ * @deprecated
1264
+ * @unsupported
1265
+ * @implements DOM API: `Element`
1266
+ */
1267
+ get ontoggle(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1268
+ /**
1269
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1270
+ *
1271
+ * @deprecated
1272
+ * @unsupported
1273
+ * @implements DOM API: `Element`
1274
+ */
1275
+ get ontransitioncancel(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1276
+ /**
1277
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1278
+ *
1279
+ * @deprecated
1280
+ * @unsupported
1281
+ * @implements DOM API: `Element`
1282
+ */
1283
+ get ontransitionend(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1284
+ /**
1285
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1286
+ *
1287
+ * @deprecated
1288
+ * @unsupported
1289
+ * @implements DOM API: `Element`
1290
+ */
1291
+ get ontransitionrun(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1292
+ /**
1293
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1294
+ *
1295
+ * @deprecated
1296
+ * @unsupported
1297
+ * @implements DOM API: `Element`
1298
+ */
1299
+ get ontransitionstart(): ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1300
+ /**
1301
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1302
+ *
1303
+ * @deprecated
1304
+ * @unsupported
1305
+ * @implements DOM API: `Element`
1306
+ */
1307
+ get onvolumechange(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1308
+ /**
1309
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1310
+ *
1311
+ * @deprecated
1312
+ * @unsupported
1313
+ * @implements DOM API: `Element`
1314
+ */
1315
+ get onwaiting(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1316
+ /**
1317
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1318
+ *
1319
+ * @deprecated
1320
+ * @unsupported
1321
+ * @implements DOM API: `Element`
1322
+ */
1323
+ get onwebkitanimationend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1324
+ /**
1325
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1326
+ *
1327
+ * @deprecated
1328
+ * @unsupported
1329
+ * @implements DOM API: `Element`
1330
+ */
1331
+ get onwebkitanimationiteration(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1332
+ /**
1333
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1334
+ *
1335
+ * @deprecated
1336
+ * @unsupported
1337
+ * @implements DOM API: `Element`
1338
+ */
1339
+ get onwebkitanimationstart(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1340
+ /**
1341
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1342
+ *
1343
+ * @deprecated
1344
+ * @unsupported
1345
+ * @implements DOM API: `Element`
1346
+ */
1347
+ get onwebkittransitionend(): ((this: GlobalEventHandlers, ev: Event) => any) | null;
1348
+ /**
1349
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1350
+ *
1351
+ * @deprecated
1352
+ * @unsupported
1353
+ * @implements DOM API: `Element`
1354
+ */
1355
+ get onwheel(): ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1356
+ /**
1357
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1358
+ *
1359
+ * @unsupported
1360
+ * @implements DOM API: `Element`
1361
+ * @see https://w3c.github.io/DOM-Parsing/#dom-element-outerhtml
1362
+ */
1363
+ get outerHTML(): string;
1364
+ /**
1365
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1366
+ *
1367
+ * @deprecated
1368
+ * @unsupported
1369
+ * @implements DOM API: `Element`
1370
+ */
1371
+ get outerText(): string;
1372
+ /**
1373
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1374
+ *
1375
+ * @unsupported
1376
+ * @implements DOM API: `Element`
1377
+ * @see https://www.w3.org/TR/css-shadow-parts-1/#idl
1378
+ */
1379
+ get part(): DOMTokenList;
1380
+ /**
1381
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1382
+ *
1383
+ * @unsupported
1384
+ * @implements DOM API: `Element`
1385
+ * @see https://html.spec.whatwg.org/multipage/popover.html#dom-popover
1386
+ */
1387
+ get popover(): string | null;
1388
+ /**
1389
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1390
+ *
1391
+ * @unsupported
1392
+ * @implements DOM API: `Element`
1393
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-prefix%E2%91%A0
1394
+ */
1395
+ get prefix(): string | null;
1396
+ /**
1397
+ * The element immediately prior the specified one in its parent's children list.
1398
+ *
1399
+ * @readonly
1400
+ * @implements DOM API: `Element`
1401
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-nondocumenttypechildnode-previouselementsibling%E2%91%A1
1402
+ */
1403
+ get previousElementSibling(): MLElement<T, O> | null;
1404
+ get raw(): string;
1405
+ /**
1406
+ * @implements `@markuplint/ml-core` API: `MLElement`
1407
+ */
1408
+ get rawName(): string;
1409
+ /**
1410
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1411
+ *
1412
+ * @unsupported
1413
+ * @implements DOM API: `Element`
1414
+ * @see https://w3c.github.io/aria/#ARIAMixin
1415
+ */
1416
+ get role(): string;
1417
+ /**
1418
+ * @implements `@markuplint/ml-core` API: `MLNode`
1419
+ */
1420
+ get rule(): RuleInfo<T, O>;
1421
+ /**
1422
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1423
+ *
1424
+ * @unsupported
1425
+ * @implements DOM API: `Element`
1426
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollheight-1
1427
+ */
1428
+ get scrollHeight(): number;
1429
+ /**
1430
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1431
+ *
1432
+ * @unsupported
1433
+ * @implements DOM API: `Element`
1434
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollleft-1
1435
+ */
1436
+ get scrollLeft(): number;
1437
+ /**
1438
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1439
+ *
1440
+ * @unsupported
1441
+ * @implements DOM API: `Element`
1442
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrolltop-1
1443
+ */
1444
+ get scrollTop(): number;
1445
+ /**
1446
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1447
+ *
1448
+ * @unsupported
1449
+ * @implements DOM API: `Element`
1450
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-scrollwidth-1
1451
+ */
1452
+ get scrollWidth(): number;
1453
+ /**
1454
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1455
+ *
1456
+ * @unsupported
1457
+ * @implements DOM API: `Element`
1458
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-shadowroot%E2%91%A0
1459
+ */
1460
+ get shadowRoot(): ShadowRoot | null;
1461
+ /**
1462
+ * @implements DOM API: `Element`
1463
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-slot%E2%91%A0
1464
+ */
1465
+ get slot(): string;
1466
+ /**
1467
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1468
+ *
1469
+ * @deprecated
1470
+ * @unsupported
1471
+ * @implements DOM API: `Element`
1472
+ */
1473
+ get spellcheck(): boolean;
1474
+ /**
1475
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1476
+ *
1477
+ * @deprecated
1478
+ * @unsupported
1479
+ * @implements DOM API: `Element`
1480
+ */
1481
+ get style(): CSSStyleDeclaration;
1482
+ /**
1483
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1484
+ *
1485
+ * @deprecated
1486
+ * @unsupported
1487
+ * @implements DOM API: `Element`
1488
+ */
1489
+ get tabIndex(): number;
1490
+ /**
1491
+ * Returns the HTML-uppercased qualified name.
1492
+ *
1493
+ * If this is in the HTML namespace and its node document is an HTML document, then set qualifiedName to qualifiedName in ASCII uppercase.
1494
+ *
1495
+ * (In markuplint evaluation, the node document always is an HTML document.)
1496
+ *
1497
+ * ```html
1498
+ * <div> => "DIV"
1499
+ * <svg> => "svg"
1500
+ * <x-foo> => "X-FOO"
1501
+ * ```
1502
+ *
1503
+ * @implements DOM API: `Element`
1504
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-tagname%E2%91%A0
1505
+ */
1506
+ get tagName(): string;
1507
+ get textContent(): string;
1508
+ /**
1509
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1510
+ *
1511
+ * @deprecated
1512
+ * @unsupported
1513
+ * @implements DOM API: `Element`
1514
+ */
1515
+ get title(): string;
1516
+ /**
1517
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1518
+ *
1519
+ * @deprecated
1520
+ * @unsupported
1521
+ * @implements DOM API: `Element`
1522
+ */
1523
+ get translate(): boolean;
1524
+ /**
1525
+ * @implements DOM API: `Element`
1526
+ */
1527
+ after(...nodes: (string | MLElement<any, any>)[]): void;
1528
+ /**
1529
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1530
+ *
1531
+ * @unsupported
1532
+ * @implements DOM API: `Element`
1533
+ * @see https://www.w3.org/TR/web-animations-1/#dom-animatable-animate
1534
+ */
1535
+ animate(
1536
+ keyframes: Keyframe[] | PropertyIndexedKeyframes | null,
1537
+ options?: number | KeyframeAnimationOptions,
1538
+ ): Animation;
1539
+ /**
1540
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1541
+ *
1542
+ * @deprecated
1543
+ * @unsupported
1544
+ * @implements DOM API: `Element`
1545
+ */
1546
+ attachInternals(): ElementInternals;
1547
+ /**
1548
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1549
+ *
1550
+ * @unsupported
1551
+ * @implements DOM API: `Element`
1552
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-attachshadow%E2%91%A0
1553
+ */
1554
+ attachShadow(init: ShadowRootInit): ShadowRoot;
1555
+ /**
1556
+ * @implements DOM API: `Element`
1557
+ */
1558
+ before(...nodes: (string | MLElement<any, any>)[]): void;
1559
+ /**
1560
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1561
+ *
1562
+ * @deprecated
1563
+ * @unsupported
1564
+ * @implements DOM API: `Element`
1565
+ */
1566
+ blur(): void;
1567
+ /**
1568
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1569
+ *
1570
+ * @deprecated
1571
+ * @unsupported
1572
+ * @implements DOM API: `Element`
1573
+ */
1574
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
1575
+ /**
1576
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1577
+ *
1578
+ * @deprecated
1579
+ * @unsupported
1580
+ * @implements DOM API: `Element`
1581
+ */
1582
+ click(): void;
1583
+ /**
1584
+ * @implements DOM API: `Element`
1585
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-closest%E2%91%A0
1586
+ */
1587
+ closest(selectors: string): MLElement<T, O> | null;
1588
+ /**
1589
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1590
+ *
1591
+ * @unsupported
1592
+ * @implements DOM API: `Element`
1593
+ */
1594
+ computedStyleMap(): StylePropertyMapReadOnly;
1595
+ fixNodeName(name: string): void;
1596
+ /**
1597
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1598
+ *
1599
+ * @deprecated
1600
+ * @unsupported
1601
+ * @implements DOM API: `Element`
1602
+ */
1603
+ focus(options?: FocusOptions): void;
1604
+ /**
1605
+ * @implements `@markuplint/ml-core` API: `MLElement`
1606
+ */
1607
+ getAccessibleName(version: ARIAVersion): string;
1608
+ /**
1609
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1610
+ *
1611
+ * @unsupported
1612
+ * @implements DOM API: `Element`
1613
+ * @see https://www.w3.org/TR/web-animations-1/#dom-animatable-getanimations
1614
+ */
1615
+ getAnimations(options?: GetAnimationsOptions): Animation[];
1616
+ /**
1617
+ * @implements DOM API: `Element`
1618
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getattribute%E2%91%A0
1619
+ */
1620
+ getAttribute(attrName: string): string | null;
1621
+ /**
1622
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1623
+ *
1624
+ * @unsupported
1625
+ * @implements DOM API: `Element`
1626
+ * @see https://dom.spec.whatwg.org/#dom-element-getattributenodens
1627
+ */
1628
+ getAttributeNS(namespace: string | null, localName: string): string | null;
1629
+ /**
1630
+ * @implements DOM API: `Element`
1631
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getattributenames%E2%91%A0
1632
+ */
1633
+ getAttributeNames(): string[];
1634
+ /**
1635
+ * @implements DOM API: `Element`
1636
+ * @see https://dom.spec.whatwg.org/#dom-element-getattributenode
1637
+ */
1638
+ getAttributeNode(qualifiedName: string): MLAttr<T, O> | null;
1639
+ /**
1640
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1641
+ *
1642
+ * @unsupported
1643
+ * @implements DOM API: `Element`
1644
+ * @see https://dom.spec.whatwg.org/#dom-element-getattributenodens
1645
+ */
1646
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
1647
+ /**
1648
+ * @implements `@markuplint/ml-core` API: `MLElement`
1649
+ */
1650
+ getAttributePretended(attrName: string): string | null;
1651
+ /**
1652
+ * @implements `@markuplint/ml-core` API: `MLElement`
1653
+ */
1654
+ getAttributeToken(attrName: string): MLAttr<T, O>[];
1655
+ /**
1656
+ * @implements `@markuplint/ml-core` API: `MLElement`
1657
+ */
1658
+ getAttributeTokens(): readonly MLAttr<T, O>[];
1659
+ /**
1660
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1661
+ *
1662
+ * @unsupported
1663
+ * @implements DOM API: `Element`
1664
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-getboundingclientrect-1
1665
+ */
1666
+ getBoundingClientRect(): DOMRect;
1667
+ getChildElementsAndTextNodeWithoutWhitespaces(): (MLElement<T, O> | MLText<T, O>)[];
1668
+ /**
1669
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1670
+ *
1671
+ * @unsupported
1672
+ * @implements DOM API: `Element`
1673
+ * @see https://www.w3.org/TR/cssom-view-1/#ref-for-dom-element-getclientrects-1
1674
+ */
1675
+ getClientRects(): DOMRectList;
1676
+ /**
1677
+ * @implements DOM API: `Element`
1678
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getelementsbyclassname
1679
+ */
1680
+ getElementsByClassName(classNames: string): HTMLCollectionOf<MLElement<T, O>>;
1681
+ /**
1682
+ * @implements DOM API: `Element`
1683
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-getelementsbyclassname
1684
+ */
1685
+ getElementsByTagName(qualifiedName: string): ReturnType<(typeof Element)['prototype']['getElementsByTagName']>;
1686
+ /**
1687
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1688
+ *
1689
+ * @unsupported
1690
+ * @implements DOM API: `Element`
1691
+ * @see https://dom.spec.whatwg.org/#dom-element-getelementsbytagnamens
1692
+ */
1693
+ getElementsByTagNameNS(namespace: any, localName: any): any;
1694
+ /**
1695
+ * @implements `@markuplint/ml-core` API: `MLElement`
1696
+ */
1697
+ getNameLocation(): {
1698
+ offset: number;
1699
+ line: number;
1700
+ col: number;
1701
+ };
1702
+ /**
1703
+ * @implements DOM API: `Element`
1704
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-hasattribute%E2%91%A0
1705
+ */
1706
+ hasAttribute(qualifiedName: string): boolean;
1707
+ /**
1708
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1709
+ *
1710
+ * @unsupported
1711
+ * @implements DOM API: `Element`
1712
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-hasattributens%E2%91%A0
1713
+ */
1714
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
1715
+ /**
1716
+ * @implements DOM API: `Element`
1717
+ * @see https://dom.spec.whatwg.org/#dom-element-hasattributes
1718
+ */
1719
+ hasAttributes(): boolean;
1720
+ /**
1721
+ * @implements `@markuplint/ml-core` API: `MLElement`
1722
+ */
1723
+ hasMutableAttributes(): boolean;
1724
+ /**
1725
+ * This element has "Preprocessor Specific Block". In other words, Its children are potentially mutable.
1726
+ *
1727
+ * @implements `@markuplint/ml-core` API: `MLElement`
1728
+ */
1729
+ hasMutableChildren(attr?: boolean): boolean;
1730
+ /**
1731
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1732
+ *
1733
+ * @unsupported
1734
+ * @implements DOM API: `Element`
1735
+ * @see https://www.w3.org/TR/pointerevents2/#dom-element-haspointercapture
1736
+ */
1737
+ hasPointerCapture(pointerId: number): boolean;
1738
+ /**
1739
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1740
+ *
1741
+ * @unsupported
1742
+ * @implements DOM API: `Element`
1743
+ * @see https://html.spec.whatwg.org/multipage/popover.html#dom-hidepopover
1744
+ */
1745
+ hidePopover(): void;
1746
+ /**
1747
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1748
+ *
1749
+ * @unsupported
1750
+ * @implements DOM API: `Element`
1751
+ * @see https://dom.spec.whatwg.org/#dom-element-insertadjacentelement
1752
+ */
1753
+ insertAdjacentElement(where: InsertPosition, element: MLElement<T, O>): MLElement<T, O> | null;
1754
+ /**
1755
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1756
+ *
1757
+ * @unsupported
1758
+ * @implements DOM API: `Element`
1759
+ * @see https://w3c.github.io/DOM-Parsing/#widl-Element-insertAdjacentHTML-void-DOMString-position-DOMString-text
1760
+ */
1761
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
1762
+ /**
1763
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1764
+ *
1765
+ * @unsupported
1766
+ * @implements DOM API: `Element`
1767
+ * @see https://dom.spec.whatwg.org/#dom-element-insertadjacenttext
1768
+ */
1769
+ insertAdjacentText(where: InsertPosition, data: string): void;
1770
+ /**
1771
+ * @implements `@markuplint/ml-core` API: `MLElement`
1772
+ */
1773
+ isDescendantByUUIDList(uuidList: readonly string[]): boolean;
1774
+ /**
1775
+ * @implements `@markuplint/ml-core` API: `MLElement`
1776
+ */
1777
+ isEmpty(): boolean;
1778
+ /**
1779
+ * @implements DOM API: `Element`
1780
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-matches%E2%91%A0
1781
+ */
1782
+ matches(selector: string): boolean;
1783
+ /**
1784
+ * Pretenders Initialization
1785
+ */
1786
+ pretending(pretenders: readonly Pretender[]): void;
1787
+ /**
1788
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1789
+ *
1790
+ * @unsupported
1791
+ * @implements DOM API: `Element`
1792
+ * @see https://www.w3.org/TR/pointerevents2/#dom-element-releasepointercapture
1793
+ */
1794
+ releasePointerCapture(pointerId: number): void;
1795
+ /**
1796
+ * @implements DOM API: `Element`
1797
+ */
1798
+ remove(): void;
1799
+ /**
1800
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1801
+ *
1802
+ * @unsupported
1803
+ * @implements DOM API: `Element`
1804
+ * @see https://dom.spec.whatwg.org/#dom-element-removeattribute
1805
+ */
1806
+ removeAttribute(qualifiedName: string): void;
1807
+ /**
1808
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1809
+ *
1810
+ * @unsupported
1811
+ * @implements DOM API: `Element`
1812
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-removeattributens%E2%91%A0
1813
+ */
1814
+ removeAttributeNS(namespace: string | null, localName: string): void;
1815
+ /**
1816
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1817
+ *
1818
+ * @unsupported
1819
+ * @implements DOM API: `Element`
1820
+ * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-D589198
1821
+ */
1822
+ removeAttributeNode(attr: Attr): Attr;
1823
+ /**
1824
+ * @implements DOM API: `Element`
1825
+ */
1826
+ replaceWith(...nodes: (string | MLElement<any, any>)[]): void;
1827
+ /**
1828
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1829
+ *
1830
+ * @unsupported
1831
+ * @implements DOM API: `Element`
1832
+ * @see https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen
1833
+ */
1834
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
1835
+ /**
1836
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1837
+ *
1838
+ * @unsupported
1839
+ * @implements DOM API: `Element`
1840
+ * @see https://w3c.github.io/pointerlock/#dom-element-requestpointerlock
1841
+ */
1842
+ requestPointerLock(): void;
1843
+ /**
1844
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1845
+ *
1846
+ * @unsupported
1847
+ * @implements DOM API: `Element`
1848
+ * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scroll
1849
+ */
1850
+ scroll(x?: any, y?: any): void;
1851
+ /**
1852
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1853
+ *
1854
+ * @unsupported
1855
+ * @implements DOM API: `Element`
1856
+ * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollby
1857
+ */
1858
+ scrollBy(x?: any, y?: any): void;
1859
+ /**
1860
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1861
+ *
1862
+ * @unsupported
1863
+ * @implements DOM API: `Element`
1864
+ * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollintoview
1865
+ */
1866
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
1867
+ /**
1868
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1869
+ *
1870
+ * @unsupported
1871
+ * @implements DOM API: `Element`
1872
+ * @see https://www.w3.org/TR/cssom-view-1/#dom-element-scrollto
1873
+ */
1874
+ scrollTo(x?: any, y?: any): void;
1875
+ /**
1876
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1877
+ *
1878
+ * @unsupported
1879
+ * @implements DOM API: `Element`
1880
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-setattribute%E2%91%A0
1881
+ */
1882
+ setAttribute(qualifiedName: string, value: string): void;
1883
+ /**
1884
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1885
+ *
1886
+ * @unsupported
1887
+ * @implements DOM API: `Element`
1888
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-setattributens%E2%91%A0
1889
+ */
1890
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
1891
+ /**
1892
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1893
+ *
1894
+ * @unsupported
1895
+ * @implements DOM API: `Element`
1896
+ * @see https://dom.spec.whatwg.org/#dom-element-setattributenode
1897
+ */
1898
+ setAttributeNode(attr: Attr): Attr | null;
1899
+ /**
1900
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1901
+ *
1902
+ * @unsupported
1903
+ * @implements DOM API: `Element`
1904
+ * @see https://dom.spec.whatwg.org/#dom-element-setattributenodens
1905
+ */
1906
+ setAttributeNodeNS(attr: Attr): Attr | null;
1907
+ /**
1908
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1909
+ *
1910
+ * @unsupported
1911
+ * @implements DOM API: `Element`
1912
+ * @see https://www.w3.org/TR/pointerevents2/#idl-def-element-setpointercapture-pointerid
1913
+ */
1914
+ setPointerCapture(pointerId: number): void;
1915
+ /**
1916
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1917
+ *
1918
+ * @unsupported
1919
+ * @implements DOM API: `Element`
1920
+ * @see https://html.spec.whatwg.org/multipage/popover.html#dom-showpopover
1921
+ */
1922
+ showPopover(): void;
1923
+ /**
1924
+ * @implements `@markuplint/ml-core` API: `MLElement`
1925
+ */
1926
+ toNormalizeString(): string;
1927
+ /**
1928
+ * @implements `@markuplint/ml-core` API: `MLElement`
1929
+ */
1930
+ toString(): string;
1931
+ /**
1932
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1933
+ *
1934
+ * @unsupported
1935
+ * @implements DOM API: `Element`
1936
+ * @see https://dom.spec.whatwg.org/#ref-for-dom-element-toggleattribute%E2%91%A0
1937
+ */
1938
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1939
+ /**
1940
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1941
+ *
1942
+ * @unsupported
1943
+ * @implements DOM API: `Element`
1944
+ * @see https://html.spec.whatwg.org/multipage/popover.html#dom-togglepopover
1945
+ */
1946
+ togglePopover(force?: boolean): void;
1947
+ /**
1948
+ * **IT THROWS AN ERROR WHEN CALLING THIS.**
1949
+ *
1950
+ * @deprecated
1951
+ * @unsupported
1952
+ * @implements DOM API: `Element`
1953
+ */
1954
+ webkitMatchesSelector(selectors: string): boolean;
1949
1955
  }