@markuplint/ml-core 2.3.5 → 2.3.6

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