@@ -10158,7 +10158,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10158
10158
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
10159
10159
*/
10160
10160
type: "submit" | "reset" | "button";
10161
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
10161
+ /**
10162
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
10163
+ *
10164
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)
10165
+ */
10162
10166
readonly validationMessage: string;
10163
10167
/**
10164
10168
* Returns a ValidityState object that represents the validity states of an element.
@@ -10189,6 +10193,8 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10189
10193
/**
10190
10194
* Sets a custom error message that is displayed when a form is submitted.
10191
10195
* @param error Sets a custom error message that is displayed when a form is submitted.
10196
+ *
10197
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/setCustomValidity)
10192
10198
*/
10193
10199
setCustomValidity(error: string): void;
10194
10200
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10578,8 +10584,13 @@ declare var HTMLEmbedElement: {
10578
10584
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)
10579
10585
*/
10580
10586
interface HTMLFieldSetElement extends HTMLElement {
10587
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
10581
10588
disabled: boolean;
10582
- /** Returns an HTMLCollection of the form controls in the element. */
10589
+ /**
10590
+ * Returns an HTMLCollection of the form controls in the element.
10591
+ *
10592
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)
10593
+ */
10583
10594
readonly elements: HTMLCollection;
10584
10595
/**
10585
10596
* Retrieves a reference to the form that the object is embedded in.
@@ -10595,7 +10606,11 @@ interface HTMLFieldSetElement extends HTMLElement {
10595
10606
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
10596
10607
*/
10597
10608
readonly type: string;
10598
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
10609
+ /**
10610
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
10611
+ *
10612
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)
10613
+ */
10599
10614
readonly validationMessage: string;
10600
10615
/**
10601
10616
* Returns a ValidityState object that represents the validity states of an element.
@@ -10620,6 +10635,8 @@ interface HTMLFieldSetElement extends HTMLElement {
10620
10635
/**
10621
10636
* Sets a custom error message that is displayed when a form is submitted.
10622
10637
* @param error Sets a custom error message that is displayed when a form is submitted.
10638
+ *
10639
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/setCustomValidity)
10623
10640
*/
10624
10641
setCustomValidity(error: string): void;
10625
10642
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -11399,7 +11416,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11399
11416
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
11400
11417
*/
11401
11418
height: number;
11402
- /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
11419
+ /**
11420
+ * When set, overrides the rendering of checkbox controls so that the current value is not visible.
11421
+ *
11422
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
11423
+ */
11403
11424
indeterminate: boolean;
11404
11425
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
11405
11426
readonly labels: NodeListOf<HTMLLabelElement> | null;
@@ -11500,7 +11521,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11500
11521
* @deprecated
11501
11522
*/
11502
11523
useMap: string;
11503
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
11524
+ /**
11525
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
11526
+ *
11527
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)
11528
+ */
11504
11529
readonly validationMessage: string;
11505
11530
/**
11506
11531
* Returns a ValidityState object that represents the validity states of an element.
@@ -12341,8 +12366,13 @@ declare var HTMLObjectElement: {
12341
12366
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)
12342
12367
*/
12343
12368
interface HTMLOptGroupElement extends HTMLElement {
12369
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
12344
12370
disabled: boolean;
12345
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12371
+ /**
12372
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12373
+ *
12374
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
12375
+ */
12346
12376
label: string;
12347
12377
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12348
12378
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12361,22 +12391,43 @@ declare var HTMLOptGroupElement: {
12361
12391
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
12362
12392
*/
12363
12393
interface HTMLOptionElement extends HTMLElement {
12364
- /** Sets or retrieves the status of an option. */
12394
+ /**
12395
+ * Sets or retrieves the status of an option.
12396
+ *
12397
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
12398
+ */
12365
12399
defaultSelected: boolean;
12400
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
12366
12401
disabled: boolean;
12367
12402
/**
12368
12403
* Retrieves a reference to the form that the object is embedded in.
12369
12404
*
12370
12405
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
12371
12406
*/
12372
12407
readonly form: HTMLFormElement | null;
12373
- /** Sets or retrieves the ordinal position of an option in a list box. */
12408
+ /**
12409
+ * Sets or retrieves the ordinal position of an option in a list box.
12410
+ *
12411
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)
12412
+ */
12374
12413
readonly index: number;
12375
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12414
+ /**
12415
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12416
+ *
12417
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
12418
+ */
12376
12419
label: string;
12377
- /** Sets or retrieves whether the option in the list box is the default item. */
12420
+ /**
12421
+ * Sets or retrieves whether the option in the list box is the default item.
12422
+ *
12423
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
12424
+ */
12378
12425
selected: boolean;
12379
- /** Sets or retrieves the text string specified by the option tag. */
12426
+ /**
12427
+ * Sets or retrieves the text string specified by the option tag.
12428
+ *
12429
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)
12430
+ */
12380
12431
text: string;
12381
12432
/**
12382
12433
* Sets or retrieves the value which is returned to the server when the form control is submitted.
@@ -12469,6 +12520,7 @@ interface HTMLOutputElement extends HTMLElement {
12469
12520
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
12470
12521
*/
12471
12522
readonly type: string;
12523
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */
12472
12524
readonly validationMessage: string;
12473
12525
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
12474
12526
readonly validity: ValidityState;
@@ -12486,6 +12538,7 @@ interface HTMLOutputElement extends HTMLElement {
12486
12538
checkValidity(): boolean;
12487
12539
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
12488
12540
reportValidity(): boolean;
12541
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */
12489
12542
setCustomValidity(error: string): void;
12490
12543
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12491
12544
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12791,7 +12844,11 @@ interface HTMLSelectElement extends HTMLElement {
12791
12844
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)
12792
12845
*/
12793
12846
readonly type: "select-one" | "select-multiple";
12794
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
12847
+ /**
12848
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
12849
+ *
12850
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)
12851
+ */
12795
12852
readonly validationMessage: string;
12796
12853
/**
12797
12854
* Returns a ValidityState object that represents the validity states of an element.
@@ -13602,7 +13659,11 @@ interface HTMLTextAreaElement extends HTMLElement {
13602
13659
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)
13603
13660
*/
13604
13661
readonly type: string;
13605
- /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
13662
+ /**
13663
+ * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
13664
+ *
13665
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validationMessage)
13666
+ */
13606
13667
readonly validationMessage: string;
13607
13668
/**
13608
13669
* Returns a ValidityState object that represents the validity states of an element.
@@ -13645,6 +13706,8 @@ interface HTMLTextAreaElement extends HTMLElement {
13645
13706
/**
13646
13707
* Sets a custom error message that is displayed when a form is submitted.
13647
13708
* @param error Sets a custom error message that is displayed when a form is submitted.
13709
+ *
13710
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setCustomValidity)
13648
13711
*/
13649
13712
setCustomValidity(error: string): void;
13650
13713
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */
0 commit comments