@rescript/webapi 0.1.0-experimental-10398b3 → 0.1.0-experimental-9d30881

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 (42) hide show
  1. package/package.json +1 -1
  2. package/src/CSSFontLoadingAPI.res +3 -0
  3. package/src/CanvasAPI.res +6 -0
  4. package/src/ChannelMessagingAPI.res +1 -0
  5. package/src/ClipboardAPI.res +2 -0
  6. package/src/CredentialManagementAPI.res +1 -0
  7. package/src/DOMAPI/Document.res +2 -0
  8. package/src/DOMAPI/Element.res +2 -0
  9. package/src/DOMAPI.res +125 -5
  10. package/src/EncryptedMediaExtensionsAPI.res +4 -0
  11. package/src/EventAPI.res +4 -0
  12. package/src/FetchAPI.res +8 -3
  13. package/src/FileAPI.res +7 -0
  14. package/src/FileAndDirectoryEntriesAPI.res +3 -0
  15. package/src/GamepadAPI.res +1 -0
  16. package/src/GeolocationAPI.res +3 -0
  17. package/src/HistoryAPI.res +1 -0
  18. package/src/IndexedDBAPI.res +5 -0
  19. package/src/IntersectionObserverAPI/IntersectionObserver.res +35 -0
  20. package/src/IntersectionObserverAPI/IntersectionObserverRoot.res +22 -0
  21. package/src/IntersectionObserverAPI.res +69 -0
  22. package/src/MediaCapabilitiesAPI.res +1 -0
  23. package/src/MediaCaptureAndStreamsAPI.res +4 -0
  24. package/src/MediaSessionAPI.res +2 -0
  25. package/src/NotificationAPI.res +1 -0
  26. package/src/PerformanceAPI.res +3 -0
  27. package/src/PermissionsAPI.res +1 -0
  28. package/src/PushManagerAPI.res +2 -0
  29. package/src/RemotePlaybackAPI.res +1 -0
  30. package/src/ResizeObserverAPI.res +1 -0
  31. package/src/ScreenWakeLockAPI.res +2 -0
  32. package/src/ServiceWorkerAPI.res +6 -0
  33. package/src/StorageAPI.res +1 -0
  34. package/src/UIEventsAPI.res +14 -0
  35. package/src/ViewTransitionsAPI.res +1 -0
  36. package/src/WebAudioAPI.res +30 -0
  37. package/src/WebCryptoAPI.res +2 -0
  38. package/src/WebLocksAPI.res +1 -0
  39. package/src/WebSocketsAPI.res +2 -0
  40. package/src/WebSpeechAPI.res +2 -0
  41. package/src/WebStorageAPI.res +2 -0
  42. package/src/WebVTTAPI.res +3 -0
package/src/DOMAPI.res CHANGED
@@ -201,12 +201,13 @@ type shareData = {
201
201
  mutable url?: string,
202
202
  }
203
203
 
204
- type fillStyle
204
+ @editor.completeFrom(FillStyle) type fillStyle
205
205
 
206
206
  /**
207
- The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively.
207
+ @editor.completeFrom(Window) The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively.
208
208
  [See Location on MDN](https://developer.mozilla.org/docs/Web/API/Location)
209
209
  */
210
+ @editor.completeFrom(Location)
210
211
  type location = {
211
212
  /**
212
213
  Returns the Location object's URL.
@@ -294,6 +295,7 @@ type userActivation = {
294
295
  The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.
295
296
  [See Navigator on MDN](https://developer.mozilla.org/docs/Web/API/Navigator)
296
297
  */
298
+ @editor.completeFrom(Navigator)
297
299
  type navigator = {
298
300
  /**
299
301
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Navigator/clipboard)
@@ -385,6 +387,7 @@ type navigator = {
385
387
  A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive.
386
388
  [See DOMTokenList on MDN](https://developer.mozilla.org/docs/Web/API/DOMTokenList)
387
389
  */
390
+ @editor.completeFrom(DOMTokenList)
388
391
  type domTokenList = {
389
392
  /**
390
393
  Returns the number of tokens.
@@ -404,6 +407,7 @@ Can be set, to change the associated attribute.
404
407
  A collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array.
405
408
  [See NamedNodeMap on MDN](https://developer.mozilla.org/docs/Web/API/NamedNodeMap)
406
409
  */
410
+ @editor.completeFrom(NamedNodeMap)
407
411
  type namedNodeMap = {
408
412
  /**
409
413
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/length)
@@ -419,6 +423,7 @@ type fragmentDirective = {}
419
423
  /**
420
424
  [See CustomElementRegistry on MDN](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry)
421
425
  */
426
+ @editor.completeFrom(CustomElementRegistry)
422
427
  type customElementRegistry = {}
423
428
 
424
429
  /**
@@ -434,6 +439,7 @@ type barProp = {
434
439
  /**
435
440
  [See ScreenOrientation on MDN](https://developer.mozilla.org/docs/Web/API/ScreenOrientation)
436
441
  */
442
+ @editor.completeFrom(ScreenOrientation)
437
443
  type screenOrientation = {
438
444
  ...eventTarget,
439
445
  /**
@@ -494,6 +500,7 @@ type offscreenRenderingContext = any
494
500
  /**
495
501
  [See AnimationTimeline on MDN](https://developer.mozilla.org/docs/Web/API/AnimationTimeline)
496
502
  */
503
+ @editor.completeFrom(Animation)
497
504
  type rec animationTimeline = {
498
505
  /**
499
506
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
@@ -504,6 +511,7 @@ type rec animationTimeline = {
504
511
  /**
505
512
  [See DocumentTimeline on MDN](https://developer.mozilla.org/docs/Web/API/DocumentTimeline)
506
513
  */
514
+ @editor.completeFrom(DocumentTimeline)
507
515
  and documentTimeline = {
508
516
  // Base properties from AnimationTimeline
509
517
  /**
@@ -516,6 +524,7 @@ and documentTimeline = {
516
524
  /**
517
525
  [See MediaList on MDN](https://developer.mozilla.org/docs/Web/API/MediaList)
518
526
  */
527
+ @editor.completeFrom(MediaList)
519
528
  type mediaList = {
520
529
  /**
521
530
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MediaList/mediaText)
@@ -530,6 +539,7 @@ type mediaList = {
530
539
  /**
531
540
  [See StylePropertyMapReadOnly on MDN](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly)
532
541
  */
542
+ @editor.completeFrom(StylePropertyMapReadOnly)
533
543
  type stylePropertyMapReadOnly = {
534
544
  /**
535
545
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
@@ -540,6 +550,7 @@ type stylePropertyMapReadOnly = {
540
550
  /**
541
551
  [See StylePropertyMap on MDN](https://developer.mozilla.org/docs/Web/API/StylePropertyMap)
542
552
  */
553
+ @editor.completeFrom(StylePropertyMap)
543
554
  type stylePropertyMap = {
544
555
  ...stylePropertyMapReadOnly,
545
556
  }
@@ -554,6 +565,7 @@ type domStringMap = {}
554
565
  A list of StyleSheet.
555
566
  [See StyleSheetList on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheetList)
556
567
  */
568
+ @editor.completeFrom(StyleSheetList)
557
569
  type rec styleSheetList = {
558
570
  /**
559
571
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StyleSheetList/length)
@@ -601,6 +613,7 @@ and styleSheet = {
601
613
  A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet.
602
614
  [See CSSStyleSheet on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet)
603
615
  */
616
+ @editor.completeFrom(CSSStyleSheet)
604
617
  and cssStyleSheet = {
605
618
  // Base properties from StyleSheet
606
619
  /**
@@ -667,6 +680,7 @@ and cssRule = {
667
680
  A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects.
668
681
  [See CSSRuleList on MDN](https://developer.mozilla.org/docs/Web/API/CSSRuleList)
669
682
  */
683
+ @editor.completeFrom(CSSRuleList)
670
684
  and cssRuleList = {
671
685
  /**
672
686
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSRuleList/length)
@@ -678,6 +692,7 @@ and cssRuleList = {
678
692
  An object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
679
693
  [See CSSStyleDeclaration on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
680
694
  */
695
+ @editor.completeFrom(CSSStyleDeclaration)
681
696
  and cssStyleDeclaration = {
682
697
  /**
683
698
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
@@ -2385,6 +2400,7 @@ and cssStyleDeclaration = {
2385
2400
  Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way.
2386
2401
  [See Node on MDN](https://developer.mozilla.org/docs/Web/API/Node)
2387
2402
  */
2403
+ @editor.completeFrom(Node)
2388
2404
  type rec node = {
2389
2405
  ...eventTarget,
2390
2406
  /**
@@ -2461,6 +2477,7 @@ type rec node = {
2461
2477
  NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll().
2462
2478
  [See NodeList on MDN](https://developer.mozilla.org/docs/Web/API/NodeList)
2463
2479
  */
2480
+ @editor.completeFrom(NodeList)
2464
2481
  and nodeList = {
2465
2482
  /**
2466
2483
  Returns the number of nodes in the collection.
@@ -2483,6 +2500,7 @@ and nodeListOf<'tNode> = {
2483
2500
  Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element.
2484
2501
  [See Element on MDN](https://developer.mozilla.org/docs/Web/API/Element)
2485
2502
  */
2503
+ @editor.completeFrom(Element)
2486
2504
  and element = {
2487
2505
  // Base properties from Node
2488
2506
  /**
@@ -2854,6 +2872,7 @@ and element = {
2854
2872
  /**
2855
2873
  [See ShadowRoot on MDN](https://developer.mozilla.org/docs/Web/API/ShadowRoot)
2856
2874
  */
2875
+ @editor.completeFrom(ShadowRoot)
2857
2876
  and shadowRoot = {
2858
2877
  // Base properties from DocumentFragment
2859
2878
  // End base properties from DocumentFragment
@@ -2994,6 +3013,7 @@ Similarly, when the focused element is in a different node tree than documentOrS
2994
3013
  A generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.
2995
3014
  [See HTMLCollection on MDN](https://developer.mozilla.org/docs/Web/API/HTMLCollection)
2996
3015
  */
3016
+ @editor.completeFrom(HTMLCollection)
2997
3017
  and htmlCollection = {
2998
3018
  /**
2999
3019
  Sets or retrieves the number of objects in a collection.
@@ -3016,6 +3036,7 @@ and htmlCollectionOf<'t> = {
3016
3036
  A collection of HTML form control elements.
3017
3037
  [See HTMLFormControlsCollection on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormControlsCollection)
3018
3038
  */
3039
+ @editor.completeFrom(HTMLFormControlsCollection)
3019
3040
  and htmlFormControlsCollection = {
3020
3041
  // Base properties from HTMLCollection
3021
3042
  /**
@@ -3030,6 +3051,7 @@ and htmlFormControlsCollection = {
3030
3051
  Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.
3031
3052
  [See HTMLElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLElement)
3032
3053
  */
3054
+ @editor.completeFrom(HTMLElement)
3033
3055
  and htmlElement = {
3034
3056
  // Base properties from Element
3035
3057
  /**
@@ -3324,6 +3346,7 @@ and htmlElement = {
3324
3346
  Contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface.
3325
3347
  [See HTMLHeadElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLHeadElement)
3326
3348
  */
3349
+ @editor.completeFrom(HTMLHeadElement)
3327
3350
  and htmlHeadElement = {
3328
3351
  // Base properties from HTMLElement
3329
3352
  /**
@@ -3580,6 +3603,7 @@ and htmlHeadElement = {
3580
3603
  A <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.
3581
3604
  [See HTMLFormElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormElement)
3582
3605
  */
3606
+ @editor.completeFrom(HTMLFormElement)
3583
3607
  and htmlFormElement = {
3584
3608
  // Base properties from HTMLElement
3585
3609
  /**
@@ -3887,6 +3911,7 @@ and htmlFormElement = {
3887
3911
  Provides special properties and methods for manipulating <img> elements.
3888
3912
  [See HTMLImageElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLImageElement)
3889
3913
  */
3914
+ @editor.completeFrom(HTMLImageElement)
3890
3915
  and htmlImageElement = {
3891
3916
  // Base properties from HTMLElement
3892
3917
  /**
@@ -4230,6 +4255,7 @@ and htmlImageElement = {
4230
4255
  Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <embed> elements.
4231
4256
  [See HTMLEmbedElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement)
4232
4257
  */
4258
+ @editor.completeFrom(HTMLEmbedElement)
4233
4259
  and htmlEmbedElement = {
4234
4260
  // Base properties from HTMLElement
4235
4261
  /**
@@ -4502,6 +4528,7 @@ and htmlEmbedElement = {
4502
4528
  Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements.
4503
4529
  [See HTMLAnchorElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
4504
4530
  */
4531
+ @editor.completeFrom(HTMLAnchorElement)
4505
4532
  and htmlAnchorElement = {
4506
4533
  // Base properties from HTMLElement
4507
4534
  /**
@@ -4875,6 +4902,7 @@ Can be set, to change the URL's fragment (ignores leading "#").
4875
4902
  Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <area> elements.
4876
4903
  [See HTMLAreaElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
4877
4904
  */
4905
+ @editor.completeFrom(HTMLAreaElement)
4878
4906
  and htmlAreaElement = {
4879
4907
  // Base properties from HTMLElement
4880
4908
  /**
@@ -5228,6 +5256,7 @@ Can be set, to change the URL's fragment (ignores leading "#").
5228
5256
  HTML <script> elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of <script> elements (beyond the inherited HTMLElement interface).
5229
5257
  [See HTMLScriptElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement)
5230
5258
  */
5259
+ @editor.completeFrom(HTMLScriptElement)
5231
5260
  and htmlScriptElement = {
5232
5261
  // Base properties from HTMLElement
5233
5262
  /**
@@ -5530,6 +5559,7 @@ and htmlScriptElement = {
5530
5559
  An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.
5531
5560
  [See DOMImplementation on MDN](https://developer.mozilla.org/docs/Web/API/DOMImplementation)
5532
5561
  */
5562
+ @editor.completeFrom(DOMImplementation)
5533
5563
  and domImplementation = {}
5534
5564
 
5535
5565
  /**
@@ -5626,6 +5656,7 @@ and documentType = {
5626
5656
  Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
5627
5657
  [See Document on MDN](https://developer.mozilla.org/docs/Web/API/Document)
5628
5658
  */
5659
+ @editor.completeFrom(Document)
5629
5660
  and document = {
5630
5661
  // Base properties from Node
5631
5662
  /**
@@ -5924,6 +5955,7 @@ Similarly, when the focused element is in a different node tree than documentOrS
5924
5955
  A window containing a DOM document; the document property points to the DOM document loaded in that window.
5925
5956
  [See Window on MDN](https://developer.mozilla.org/docs/Web/API/Window)
5926
5957
  */
5958
+ @editor.completeFrom(Window)
5927
5959
  and window = {
5928
5960
  ...eventTarget,
5929
5961
  /**
@@ -6274,6 +6306,7 @@ and attr = {
6274
6306
  The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract.
6275
6307
  [See CharacterData on MDN](https://developer.mozilla.org/docs/Web/API/CharacterData)
6276
6308
  */
6309
+ @editor.completeFrom(CharacterData)
6277
6310
  and characterData = {
6278
6311
  // Base properties from Node
6279
6312
  /**
@@ -6370,6 +6403,7 @@ and characterData = {
6370
6403
  A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made.
6371
6404
  [See DocumentFragment on MDN](https://developer.mozilla.org/docs/Web/API/DocumentFragment)
6372
6405
  */
6406
+ @editor.completeFrom(DocumentFragment)
6373
6407
  and documentFragment = {
6374
6408
  // Base properties from Node
6375
6409
  /**
@@ -6466,6 +6500,7 @@ and documentFragment = {
6466
6500
  /**
6467
6501
  [See HTMLSlotElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement)
6468
6502
  */
6503
+ @editor.completeFrom(HTMLSlotElement)
6469
6504
  and htmlSlotElement = {
6470
6505
  // Base properties from HTMLElement
6471
6506
  /**
@@ -6726,6 +6761,7 @@ and htmlSlotElement = {
6726
6761
  /**
6727
6762
  [See DOMRectReadOnly on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly)
6728
6763
  */
6764
+ @editor.completeFrom(DOMRectReadOnly)
6729
6765
  type domRectReadOnly = {
6730
6766
  /**
6731
6767
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/x)
@@ -6764,11 +6800,12 @@ type domRectReadOnly = {
6764
6800
  /**
6765
6801
  [See DOMRect on MDN](https://developer.mozilla.org/docs/Web/API/DOMRect)
6766
6802
  */
6803
+ @editor.completeFrom(DOMRect)
6767
6804
  type domRect = {
6768
6805
  ...domRectReadOnly,
6769
6806
  }
6770
6807
 
6771
- type domRectList = {}
6808
+ @editor.completeFrom(DOMRectList) type domRectList = {}
6772
6809
 
6773
6810
  /**
6774
6811
  The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid.
@@ -6829,6 +6866,7 @@ type customStateSet = {}
6829
6866
  /**
6830
6867
  [See ElementInternals on MDN](https://developer.mozilla.org/docs/Web/API/ElementInternals)
6831
6868
  */
6869
+ @editor.completeFrom(ElementInternals)
6832
6870
  type elementInternals = {
6833
6871
  /**
6834
6872
  Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise.
@@ -7039,9 +7077,10 @@ type xmlDocument = {
7039
7077
  }
7040
7078
 
7041
7079
  /**
7042
- The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.
7080
+ @editor.completeFrom(Text) The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.
7043
7081
  [See Text on MDN](https://developer.mozilla.org/docs/Web/API/Text)
7044
7082
  */
7083
+ @editor.completeFrom(Text)
7045
7084
  type text = {
7046
7085
  ...characterData,
7047
7086
  /**
@@ -7067,6 +7106,7 @@ type cdataSection = {
7067
7106
  Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
7068
7107
  [See Comment on MDN](https://developer.mozilla.org/docs/Web/API/Comment)
7069
7108
  */
7109
+ @editor.completeFrom(Comment)
7070
7110
  type comment = {
7071
7111
  ...characterData,
7072
7112
  }
@@ -7122,6 +7162,7 @@ type abstractRange = {
7122
7162
  A fragment of a document that can contain nodes and parts of text nodes.
7123
7163
  [See Range on MDN](https://developer.mozilla.org/docs/Web/API/Range)
7124
7164
  */
7165
+ @editor.completeFrom(Range)
7125
7166
  type range = {
7126
7167
  ...abstractRange,
7127
7168
  /**
@@ -7138,12 +7179,13 @@ type staticRange = {
7138
7179
  ...abstractRange,
7139
7180
  }
7140
7181
 
7141
- type nodeFilter = {}
7182
+ @editor.completeFrom(NodeFilter) type nodeFilter = {}
7142
7183
 
7143
7184
  /**
7144
7185
  An iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order.
7145
7186
  [See NodeIterator on MDN](https://developer.mozilla.org/docs/Web/API/NodeIterator)
7146
7187
  */
7188
+ @editor.completeFrom(NodeIterator)
7147
7189
  type nodeIterator = {
7148
7190
  /**
7149
7191
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/NodeIterator/root)
@@ -7171,6 +7213,7 @@ type nodeIterator = {
7171
7213
  The nodes of a document subtree and a position within them.
7172
7214
  [See TreeWalker on MDN](https://developer.mozilla.org/docs/Web/API/TreeWalker)
7173
7215
  */
7216
+ @editor.completeFrom(TreeWalker)
7174
7217
  type treeWalker = {
7175
7218
  /**
7176
7219
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/TreeWalker/root)
@@ -7193,12 +7236,14 @@ type treeWalker = {
7193
7236
  /**
7194
7237
  [See CaretPosition on MDN](https://developer.mozilla.org/docs/Web/API/CaretPosition)
7195
7238
  */
7239
+ @editor.completeFrom(CaretPosition)
7196
7240
  type caretPosition = {}
7197
7241
 
7198
7242
  /**
7199
7243
  A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or modification, call Window.getSelection().
7200
7244
  [See Selection on MDN](https://developer.mozilla.org/docs/Web/API/Selection)
7201
7245
  */
7246
+ @editor.completeFrom(Selection)
7202
7247
  type selection = {
7203
7248
  /**
7204
7249
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Selection/anchorNode)
@@ -7239,6 +7284,7 @@ type selection = {
7239
7284
  Stores information on a media query applied to a document, and handles sending notifications to listeners when the media query state change (i.e. when the media query test starts or stops evaluating to true).
7240
7285
  [See MediaQueryList on MDN](https://developer.mozilla.org/docs/Web/API/MediaQueryList)
7241
7286
  */
7287
+ @editor.completeFrom(MediaQueryList)
7242
7288
  type mediaQueryList = {
7243
7289
  ...eventTarget,
7244
7290
  /**
@@ -7254,6 +7300,7 @@ type mediaQueryList = {
7254
7300
  /**
7255
7301
  [See IdleDeadline on MDN](https://developer.mozilla.org/docs/Web/API/IdleDeadline)
7256
7302
  */
7303
+ @editor.completeFrom(IdleDeadline)
7257
7304
  type idleDeadline = {
7258
7305
  /**
7259
7306
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/IdleDeadline/didTimeout)
@@ -7264,12 +7311,14 @@ type idleDeadline = {
7264
7311
  /**
7265
7312
  [See CSSStyleValue on MDN](https://developer.mozilla.org/docs/Web/API/CSSStyleValue)
7266
7313
  */
7314
+ @editor.completeFrom(CSSStyleValue)
7267
7315
  type cssStyleValue = {}
7268
7316
 
7269
7317
  /**
7270
7318
  An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage.
7271
7319
  [See FileList on MDN](https://developer.mozilla.org/docs/Web/API/FileList)
7272
7320
  */
7321
+ @editor.completeFrom(FileList)
7273
7322
  type fileList = {
7274
7323
  /**
7275
7324
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileList/length)
@@ -7296,6 +7345,7 @@ type mediaError = {
7296
7345
  Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> elements.
7297
7346
  [See TimeRanges on MDN](https://developer.mozilla.org/docs/Web/API/TimeRanges)
7298
7347
  */
7348
+ @editor.completeFrom(TimeRanges)
7299
7349
  type timeRanges = {
7300
7350
  /**
7301
7351
  Returns the number of ranges in the object.
@@ -7307,6 +7357,7 @@ type timeRanges = {
7307
7357
  /**
7308
7358
  [See TextTrackList on MDN](https://developer.mozilla.org/docs/Web/API/TextTrackList)
7309
7359
  */
7360
+ @editor.completeFrom(TextTrackList)
7310
7361
  type textTrackList = {
7311
7362
  ...eventTarget,
7312
7363
  /**
@@ -7338,6 +7389,7 @@ type videoPlaybackQuality = {
7338
7389
  Provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document.
7339
7390
  [See HTMLTableElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTableElement)
7340
7391
  */
7392
+ @editor.completeFrom(HTMLTableElement)
7341
7393
  type rec htmlTableElement = {
7342
7394
  ...htmlElement,
7343
7395
  /**
@@ -7371,6 +7423,7 @@ type rec htmlTableElement = {
7371
7423
  Special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.
7372
7424
  [See HTMLTableCaptionElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement)
7373
7425
  */
7426
+ @editor.completeFrom(HTMLTableCaptionElement)
7374
7427
  and htmlTableCaptionElement = {
7375
7428
  ...htmlElement,
7376
7429
  }
@@ -7379,6 +7432,7 @@ and htmlTableCaptionElement = {
7379
7432
  Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of sections, that is headers, footers and bodies, in an HTML table.
7380
7433
  [See HTMLTableSectionElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement)
7381
7434
  */
7435
+ @editor.completeFrom(HTMLTableSectionElement)
7382
7436
  and htmlTableSectionElement = {
7383
7437
  ...htmlElement,
7384
7438
  /**
@@ -7392,6 +7446,7 @@ and htmlTableSectionElement = {
7392
7446
  Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document.
7393
7447
  [See HTMLTableCellElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement)
7394
7448
  */
7449
+ @editor.completeFrom(HTMLTableCellElement)
7395
7450
  and htmlTableCellElement = {
7396
7451
  ...htmlElement,
7397
7452
  /**
@@ -7430,6 +7485,7 @@ and htmlTableCellElement = {
7430
7485
  Provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table.
7431
7486
  [See HTMLTableRowElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement)
7432
7487
  */
7488
+ @editor.completeFrom(HTMLTableRowElement)
7433
7489
  and htmlTableRowElement = {
7434
7490
  ...htmlElement,
7435
7491
  /**
@@ -7453,6 +7509,7 @@ and htmlTableRowElement = {
7453
7509
  Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> elements.
7454
7510
  [See HTMLButtonElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
7455
7511
  */
7512
+ @editor.completeFrom(HTMLButtonElement)
7456
7513
  type rec htmlButtonElement = {
7457
7514
  ...htmlElement,
7458
7515
  /**
@@ -7528,6 +7585,7 @@ type rec htmlButtonElement = {
7528
7585
  Gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement interface.
7529
7586
  [See HTMLLabelElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement)
7530
7587
  */
7588
+ @editor.completeFrom(HTMLLabelElement)
7531
7589
  and htmlLabelElement = {
7532
7590
  ...htmlElement,
7533
7591
  /**
@@ -7551,6 +7609,7 @@ and htmlLabelElement = {
7551
7609
  Provides special properties and methods for manipulating the layout and presentation of <textarea> elements.
7552
7610
  [See HTMLTextAreaElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement)
7553
7611
  */
7612
+ @editor.completeFrom(HTMLTextAreaElement)
7554
7613
  and htmlTextAreaElement = {
7555
7614
  ...htmlElement,
7556
7615
  /**
@@ -7669,6 +7728,7 @@ and htmlTextAreaElement = {
7669
7728
  Provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of <output> elements.
7670
7729
  [See HTMLOutputElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement)
7671
7730
  */
7731
+ @editor.completeFrom(HTMLOutputElement)
7672
7732
  and htmlOutputElement = {
7673
7733
  ...htmlElement,
7674
7734
  /**
@@ -7722,6 +7782,7 @@ Can be set, to change the value.
7722
7782
  Provides special properties and methods for manipulating the options, layout, and presentation of <input> elements.
7723
7783
  [See HTMLInputElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
7724
7784
  */
7785
+ @editor.completeFrom(HTMLInputElement)
7725
7786
  and htmlInputElement = {
7726
7787
  ...htmlElement,
7727
7788
  /**
@@ -7945,6 +8006,7 @@ and htmlInputElement = {
7945
8006
  Provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content.
7946
8007
  [See HTMLDataListElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement)
7947
8008
  */
8009
+ @editor.completeFrom(HTMLDataListElement)
7948
8010
  and htmlDataListElement = {
7949
8011
  ...htmlElement,
7950
8012
  /**
@@ -7958,6 +8020,7 @@ and htmlDataListElement = {
7958
8020
  A <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface.
7959
8021
  [See HTMLSelectElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement)
7960
8022
  */
8023
+ @editor.completeFrom(HTMLSelectElement)
7961
8024
  and htmlSelectElement = {
7962
8025
  ...htmlElement,
7963
8026
  /**
@@ -8044,6 +8107,7 @@ and htmlSelectElement = {
8044
8107
  <option> elements and inherits all classes and methods of the HTMLElement interface.
8045
8108
  [See HTMLOptionElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
8046
8109
  */
8110
+ @editor.completeFrom(HTMLOptionElement)
8047
8111
  and htmlOptionElement = {
8048
8112
  ...htmlElement,
8049
8113
  /**
@@ -8091,6 +8155,7 @@ and htmlOptionElement = {
8091
8155
  HTMLOptionsCollection is an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the "options" property of select.
8092
8156
  [See HTMLOptionsCollection on MDN](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection)
8093
8157
  */
8158
+ @editor.completeFrom(HTMLOptionsCollection)
8094
8159
  and htmlOptionsCollection = {
8095
8160
  ...htmlCollectionOf<htmlOptionElement>,
8096
8161
  /**
@@ -8108,6 +8173,7 @@ type mediaProvider = any
8108
8173
  Adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video.
8109
8174
  [See HTMLMediaElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement)
8110
8175
  */
8176
+ @editor.completeFrom(HTMLMediaElement)
8111
8177
  type htmlMediaElement = {
8112
8178
  ...htmlElement,
8113
8179
  /**
@@ -8246,6 +8312,7 @@ type htmlMediaElement = {
8246
8312
  Provides access to the properties of <audio> elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface.
8247
8313
  [See HTMLAudioElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLAudioElement)
8248
8314
  */
8315
+ @editor.completeFrom(HTMLAudioElement)
8249
8316
  type htmlAudioElement = {
8250
8317
  ...htmlMediaElement,
8251
8318
  }
@@ -8254,6 +8321,7 @@ type htmlAudioElement = {
8254
8321
  Contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface.
8255
8322
  [See HTMLBaseElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement)
8256
8323
  */
8324
+ @editor.completeFrom(HTMLBaseElement)
8257
8325
  type htmlBaseElement = {
8258
8326
  ...htmlElement,
8259
8327
  /**
@@ -8272,6 +8340,7 @@ type htmlBaseElement = {
8272
8340
  Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements.
8273
8341
  [See HTMLBodyElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement)
8274
8342
  */
8343
+ @editor.completeFrom(HTMLBodyElement)
8275
8344
  type htmlBodyElement = {
8276
8345
  ...htmlElement,
8277
8346
  }
@@ -8280,6 +8349,7 @@ type htmlBodyElement = {
8280
8349
  A HTML line break element (<br>). It inherits from HTMLElement.
8281
8350
  [See HTMLBRElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLBRElement)
8282
8351
  */
8352
+ @editor.completeFrom(HTMLBRElement)
8283
8353
  type htmlbrElement = {
8284
8354
  ...htmlElement,
8285
8355
  }
@@ -8288,6 +8358,7 @@ type htmlbrElement = {
8288
8358
  Provides properties and methods for manipulating the layout and presentation of <canvas> elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface.
8289
8359
  [See HTMLCanvasElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement)
8290
8360
  */
8361
+ @editor.completeFrom(HTMLCanvasElement)
8291
8362
  type htmlCanvasElement = {
8292
8363
  ...htmlElement,
8293
8364
  /**
@@ -8306,6 +8377,7 @@ type htmlCanvasElement = {
8306
8377
  Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> elements.
8307
8378
  [See HTMLDataElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLDataElement)
8308
8379
  */
8380
+ @editor.completeFrom(HTMLDataElement)
8309
8381
  type htmlDataElement = {
8310
8382
  ...htmlElement,
8311
8383
  /**
@@ -8317,6 +8389,7 @@ type htmlDataElement = {
8317
8389
  /**
8318
8390
  [See HTMLDialogElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement)
8319
8391
  */
8392
+ @editor.completeFrom(HTMLDialogElement)
8320
8393
  type htmlDialogElement = {
8321
8394
  ...htmlElement,
8322
8395
  /**
@@ -8334,6 +8407,7 @@ type htmlDialogElement = {
8334
8407
  Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <div> elements.
8335
8408
  [See HTMLDivElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLDivElement)
8336
8409
  */
8410
+ @editor.completeFrom(HTMLDivElement)
8337
8411
  type htmlDivElement = {
8338
8412
  ...htmlElement,
8339
8413
  }
@@ -8342,6 +8416,7 @@ type htmlDivElement = {
8342
8416
  Provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (<dl>) elements.
8343
8417
  [See HTMLDListElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLDListElement)
8344
8418
  */
8419
+ @editor.completeFrom(HTMLDListElement)
8345
8420
  type htmldListElement = {
8346
8421
  ...htmlElement,
8347
8422
  }
@@ -8350,6 +8425,7 @@ type htmldListElement = {
8350
8425
  Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements.
8351
8426
  [See HTMLFieldSetElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)
8352
8427
  */
8428
+ @editor.completeFrom(HTMLFieldSetElement)
8353
8429
  type htmlFieldSetElement = {
8354
8430
  ...htmlElement,
8355
8431
  /**
@@ -8397,6 +8473,7 @@ type htmlFieldSetElement = {
8397
8473
  Provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating <frameset> elements.
8398
8474
  [See HTMLFrameSetElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFrameSetElement)
8399
8475
  */
8476
+ @editor.completeFrom(HTMLFrameSetElement)
8400
8477
  type htmlFrameSetElement = {
8401
8478
  ...htmlElement,
8402
8479
  }
@@ -8405,6 +8482,7 @@ type htmlFrameSetElement = {
8405
8482
  The different heading elements. It inherits methods and properties from the HTMLElement interface.
8406
8483
  [See HTMLHeadingElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement)
8407
8484
  */
8485
+ @editor.completeFrom(HTMLHeadingElement)
8408
8486
  type htmlHeadingElement = {
8409
8487
  ...htmlElement,
8410
8488
  }
@@ -8413,6 +8491,7 @@ type htmlHeadingElement = {
8413
8491
  Provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating <hr> elements.
8414
8492
  [See HTMLHRElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLHRElement)
8415
8493
  */
8494
+ @editor.completeFrom(HTMLHRElement)
8416
8495
  type htmlhrElement = {
8417
8496
  ...htmlElement,
8418
8497
  }
@@ -8421,6 +8500,7 @@ type htmlhrElement = {
8421
8500
  Serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface.
8422
8501
  [See HTMLHtmlElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLHtmlElement)
8423
8502
  */
8503
+ @editor.completeFrom(HTMLHtmlElement)
8424
8504
  type htmlHtmlElement = {
8425
8505
  ...htmlElement,
8426
8506
  }
@@ -8429,6 +8509,7 @@ type htmlHtmlElement = {
8429
8509
  Provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.
8430
8510
  [See HTMLIFrameElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement)
8431
8511
  */
8512
+ @editor.completeFrom(HTMLIFrameElement)
8432
8513
  type htmliFrameElement = {
8433
8514
  ...htmlElement,
8434
8515
  /**
@@ -8492,6 +8573,7 @@ type htmliFrameElement = {
8492
8573
  The HTMLLegendElement is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTMLElement interface.
8493
8574
  [See HTMLLegendElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLLegendElement)
8494
8575
  */
8576
+ @editor.completeFrom(HTMLLegendElement)
8495
8577
  type htmlLegendElement = {
8496
8578
  ...htmlElement,
8497
8579
  /**
@@ -8505,6 +8587,7 @@ type htmlLegendElement = {
8505
8587
  Exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.
8506
8588
  [See HTMLLIElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLLIElement)
8507
8589
  */
8590
+ @editor.completeFrom(HTMLLIElement)
8508
8591
  type htmlliElement = {
8509
8592
  ...htmlElement,
8510
8593
  }
@@ -8513,6 +8596,7 @@ type htmlliElement = {
8513
8596
  Reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface.
8514
8597
  [See HTMLLinkElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement)
8515
8598
  */
8599
+ @editor.completeFrom(HTMLLinkElement)
8516
8600
  type htmlLinkElement = {
8517
8601
  ...htmlElement,
8518
8602
  /**
@@ -8580,6 +8664,7 @@ type htmlLinkElement = {
8580
8664
  Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements.
8581
8665
  [See HTMLMapElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLMapElement)
8582
8666
  */
8667
+ @editor.completeFrom(HTMLMapElement)
8583
8668
  type htmlMapElement = {
8584
8669
  ...htmlElement,
8585
8670
  /**
@@ -8597,6 +8682,7 @@ type htmlMapElement = {
8597
8682
  /**
8598
8683
  [See HTMLMenuElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement)
8599
8684
  */
8685
+ @editor.completeFrom(HTMLMenuElement)
8600
8686
  type htmlMenuElement = {
8601
8687
  ...htmlElement,
8602
8688
  }
@@ -8605,6 +8691,7 @@ type htmlMenuElement = {
8605
8691
  Contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface.
8606
8692
  [See HTMLMetaElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement)
8607
8693
  */
8694
+ @editor.completeFrom(HTMLMetaElement)
8608
8695
  type htmlMetaElement = {
8609
8696
  ...htmlElement,
8610
8697
  /**
@@ -8632,6 +8719,7 @@ type htmlMetaElement = {
8632
8719
  The HTML <meter> elements expose the HTMLMeterElement interface, which provides special properties and methods (beyond the HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <meter> elements.
8633
8720
  [See HTMLMeterElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement)
8634
8721
  */
8722
+ @editor.completeFrom(HTMLMeterElement)
8635
8723
  type htmlMeterElement = {
8636
8724
  ...htmlElement,
8637
8725
  /**
@@ -8668,6 +8756,7 @@ type htmlMeterElement = {
8668
8756
  Provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is <del> and <ins>.
8669
8757
  [See HTMLModElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLModElement)
8670
8758
  */
8759
+ @editor.completeFrom(HTMLModElement)
8671
8760
  type htmlModElement = {
8672
8761
  ...htmlElement,
8673
8762
  }
@@ -8676,6 +8765,7 @@ type htmlModElement = {
8676
8765
  Provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <object> element, representing external resources.
8677
8766
  [See HTMLObjectElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement)
8678
8767
  */
8768
+ @editor.completeFrom(HTMLObjectElement)
8679
8769
  type htmlObjectElement = {
8680
8770
  ...htmlElement,
8681
8771
  /**
@@ -8739,6 +8829,7 @@ type htmlObjectElement = {
8739
8829
  Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements.
8740
8830
  [See HTMLOListElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLOListElement)
8741
8831
  */
8832
+ @editor.completeFrom(HTMLOListElement)
8742
8833
  type htmloListElement = {
8743
8834
  ...htmlElement,
8744
8835
  /**
@@ -8761,6 +8852,7 @@ type htmloListElement = {
8761
8852
  Provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> elements.
8762
8853
  [See HTMLOptGroupElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)
8763
8854
  */
8855
+ @editor.completeFrom(HTMLOptGroupElement)
8764
8856
  type htmlOptGroupElement = {
8765
8857
  ...htmlElement,
8766
8858
  /**
@@ -8778,6 +8870,7 @@ type htmlOptGroupElement = {
8778
8870
  Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <p> elements.
8779
8871
  [See HTMLParagraphElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement)
8780
8872
  */
8873
+ @editor.completeFrom(HTMLParagraphElement)
8781
8874
  type htmlParagraphElement = {
8782
8875
  ...htmlElement,
8783
8876
  }
@@ -8786,6 +8879,7 @@ type htmlParagraphElement = {
8786
8879
  A <picture> HTML element. It doesn't implement specific properties or methods.
8787
8880
  [See HTMLPictureElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLPictureElement)
8788
8881
  */
8882
+ @editor.completeFrom(HTMLPictureElement)
8789
8883
  type htmlPictureElement = {
8790
8884
  ...htmlElement,
8791
8885
  }
@@ -8794,6 +8888,7 @@ type htmlPictureElement = {
8794
8888
  Exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (<pre>).
8795
8889
  [See HTMLPreElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLPreElement)
8796
8890
  */
8891
+ @editor.completeFrom(HTMLPreElement)
8797
8892
  type htmlPreElement = {
8798
8893
  ...htmlElement,
8799
8894
  }
@@ -8802,6 +8897,7 @@ type htmlPreElement = {
8802
8897
  Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <progress> elements.
8803
8898
  [See HTMLProgressElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement)
8804
8899
  */
8900
+ @editor.completeFrom(HTMLProgressElement)
8805
8901
  type htmlProgressElement = {
8806
8902
  ...htmlElement,
8807
8903
  /**
@@ -8829,6 +8925,7 @@ type htmlProgressElement = {
8829
8925
  Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like <blockquote> and <q>, but not the <cite> element.
8830
8926
  [See HTMLQuoteElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement)
8831
8927
  */
8928
+ @editor.completeFrom(HTMLQuoteElement)
8832
8929
  type htmlQuoteElement = {
8833
8930
  ...htmlElement,
8834
8931
  }
@@ -8837,6 +8934,7 @@ type htmlQuoteElement = {
8837
8934
  Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements.
8838
8935
  [See HTMLSourceElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement)
8839
8936
  */
8937
+ @editor.completeFrom(HTMLSourceElement)
8840
8938
  type htmlSourceElement = {
8841
8939
  ...htmlElement,
8842
8940
  /**
@@ -8853,6 +8951,7 @@ type htmlSourceElement = {
8853
8951
  A <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods.
8854
8952
  [See HTMLSpanElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLSpanElement)
8855
8953
  */
8954
+ @editor.completeFrom(HTMLSpanElement)
8856
8955
  type htmlSpanElement = {
8857
8956
  ...htmlElement,
8858
8957
  }
@@ -8861,6 +8960,7 @@ type htmlSpanElement = {
8861
8960
  A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle.
8862
8961
  [See HTMLStyleElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement)
8863
8962
  */
8963
+ @editor.completeFrom(HTMLStyleElement)
8864
8964
  type htmlStyleElement = {
8865
8965
  ...htmlElement,
8866
8966
  /**
@@ -8883,6 +8983,7 @@ type htmlStyleElement = {
8883
8983
  Enables access to the contents of an HTML <template> element.
8884
8984
  [See HTMLTemplateElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement)
8885
8985
  */
8986
+ @editor.completeFrom(HTMLTemplateElement)
8886
8987
  type htmlTemplateElement = {
8887
8988
  ...htmlElement,
8888
8989
  /**
@@ -8912,6 +9013,7 @@ type htmlTemplateElement = {
8912
9013
  Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <time> elements.
8913
9014
  [See HTMLTimeElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTimeElement)
8914
9015
  */
9016
+ @editor.completeFrom(HTMLTimeElement)
8915
9017
  type htmlTimeElement = {
8916
9018
  ...htmlElement,
8917
9019
  /**
@@ -8924,6 +9026,7 @@ type htmlTimeElement = {
8924
9026
  Contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface.
8925
9027
  [See HTMLTitleElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTitleElement)
8926
9028
  */
9029
+ @editor.completeFrom(HTMLTitleElement)
8927
9030
  type htmlTitleElement = {
8928
9031
  ...htmlElement,
8929
9032
  /**
@@ -8937,6 +9040,7 @@ type htmlTitleElement = {
8937
9040
  The HTMLTrackElement
8938
9041
  [See HTMLTrackElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement)
8939
9042
  */
9043
+ @editor.completeFrom(HTMLTrackElement)
8940
9044
  type htmlTrackElement = {
8941
9045
  ...htmlElement,
8942
9046
  /**
@@ -8949,6 +9053,7 @@ type htmlTrackElement = {
8949
9053
  Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list elements.
8950
9054
  [See HTMLUListElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLUListElement)
8951
9055
  */
9056
+ @editor.completeFrom(HTMLUListElement)
8952
9057
  type htmluListElement = {
8953
9058
  ...htmlElement,
8954
9059
  }
@@ -8965,6 +9070,7 @@ type htmlUnknownElement = {
8965
9070
  Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement.
8966
9071
  [See HTMLVideoElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
8967
9072
  */
9073
+ @editor.completeFrom(HTMLVideoElement)
8968
9074
  type htmlVideoElement = {
8969
9075
  ...htmlMediaElement,
8970
9076
  /**
@@ -9001,18 +9107,21 @@ type htmlVideoElement = {
9001
9107
  /**
9002
9108
  [See AnimationEffect on MDN](https://developer.mozilla.org/docs/Web/API/AnimationEffect)
9003
9109
  */
9110
+ @editor.completeFrom(AnimationEffect)
9004
9111
  type animationEffect = {}
9005
9112
 
9006
9113
  /**
9007
9114
  This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree.
9008
9115
  [See XPathExpression on MDN](https://developer.mozilla.org/docs/Web/API/XPathExpression)
9009
9116
  */
9117
+ @editor.completeFrom(XPathExpression)
9010
9118
  type xPathExpression = {}
9011
9119
 
9012
9120
  /**
9013
9121
  The results generated by evaluating an XPath expression within the context of a given node.
9014
9122
  [See XPathResult on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult)
9015
9123
  */
9124
+ @editor.completeFrom(XPathResult)
9016
9125
  type xPathResult = {
9017
9126
  /**
9018
9127
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/resultType)
@@ -9054,6 +9163,7 @@ type svgAnimatedPreserveAspectRatio = {}
9054
9163
  Correspond to the <length> basic data type.
9055
9164
  [See SVGLength on MDN](https://developer.mozilla.org/docs/Web/API/SVGLength)
9056
9165
  */
9166
+ @editor.completeFrom(SVGLength)
9057
9167
  type svgLength = {}
9058
9168
 
9059
9169
  /**
@@ -9107,6 +9217,7 @@ type svgElement = {
9107
9217
  SVG elements whose primary purpose is to directly render graphics into a group.
9108
9218
  [See SVGGraphicsElement on MDN](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement)
9109
9219
  */
9220
+ @editor.completeFrom(SVGGraphicsElement)
9110
9221
  type svgGraphicsElement = {
9111
9222
  ...svgElement,
9112
9223
  }
@@ -9142,6 +9253,7 @@ type svgImageElement = {
9142
9253
  /**
9143
9254
  [See DOMMatrixReadOnly on MDN](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly)
9144
9255
  */
9256
+ @editor.completeFrom(DOMMatrixReadOnly)
9145
9257
  type domMatrixReadOnly = {
9146
9258
  /**
9147
9259
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties)
@@ -9236,6 +9348,7 @@ type domMatrixReadOnly = {
9236
9348
  /**
9237
9349
  [See DOMMatrix on MDN](https://developer.mozilla.org/docs/Web/API/DOMMatrix)
9238
9350
  */
9351
+ @editor.completeFrom(DOMMatrix)
9239
9352
  type domMatrix = {
9240
9353
  ...domMatrixReadOnly,
9241
9354
  }
@@ -9243,6 +9356,7 @@ type domMatrix = {
9243
9356
  /**
9244
9357
  [See VideoColorSpace on MDN](https://developer.mozilla.org/docs/Web/API/VideoColorSpace)
9245
9358
  */
9359
+ @editor.completeFrom(VideoColorSpace)
9246
9360
  type videoColorSpace = {
9247
9361
  /**
9248
9362
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/primaries)
@@ -9265,6 +9379,7 @@ type videoColorSpace = {
9265
9379
  /**
9266
9380
  [See VideoFrame on MDN](https://developer.mozilla.org/docs/Web/API/VideoFrame)
9267
9381
  */
9382
+ @editor.completeFrom(VideoFrame)
9268
9383
  type videoFrame = {
9269
9384
  /**
9270
9385
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/VideoFrame/format)
@@ -9312,6 +9427,7 @@ type videoFrame = {
9312
9427
  The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData().
9313
9428
  [See ImageData on MDN](https://developer.mozilla.org/docs/Web/API/ImageData)
9314
9429
  */
9430
+ @editor.completeFrom(ImageData)
9315
9431
  type imageData = {
9316
9432
  /**
9317
9433
  Returns the actual dimensions of the data in the ImageData object, in pixels.
@@ -9337,6 +9453,7 @@ type imageData = {
9337
9453
  /**
9338
9454
  [See DOMPointReadOnly on MDN](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly)
9339
9455
  */
9456
+ @editor.completeFrom(DOMPointReadOnly)
9340
9457
  type domPointReadOnly = {
9341
9458
  /**
9342
9459
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/x)
@@ -9359,6 +9476,7 @@ type domPointReadOnly = {
9359
9476
  /**
9360
9477
  [See DOMPoint on MDN](https://developer.mozilla.org/docs/Web/API/DOMPoint)
9361
9478
  */
9479
+ @editor.completeFrom(DOMPoint)
9362
9480
  type domPoint = {
9363
9481
  ...domPointReadOnly,
9364
9482
  }
@@ -9377,6 +9495,7 @@ type canvasContext2DAttributes = {
9377
9495
  The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a <canvas> element. It is used for drawing shapes, text, images, and other objects.
9378
9496
  [See CanvasRenderingContext2D on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D)
9379
9497
  */
9498
+ @editor.completeFrom(CanvasRenderingContext2D)
9380
9499
  type canvasRenderingContext2D = {
9381
9500
  /**
9382
9501
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
@@ -9491,6 +9610,7 @@ type canvasRenderingContext2D = {
9491
9610
  /**
9492
9611
  [See Animation on MDN](https://developer.mozilla.org/docs/Web/API/Animation)
9493
9612
  */
9613
+ @editor.completeFrom(Animation)
9494
9614
  type rec animation = {
9495
9615
  ...eventTarget,
9496
9616
  /**