@types/web 0.0.139 → 0.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +38 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.140 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.140.
|
package/index.d.ts
CHANGED
|
@@ -11030,7 +11030,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11030
11030
|
checked: boolean;
|
|
11031
11031
|
/** Sets or retrieves the state of the check box or radio button. */
|
|
11032
11032
|
defaultChecked: boolean;
|
|
11033
|
-
/**
|
|
11033
|
+
/**
|
|
11034
|
+
* Sets or retrieves the initial contents of the object.
|
|
11035
|
+
*
|
|
11036
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
11037
|
+
*/
|
|
11034
11038
|
defaultValue: string;
|
|
11035
11039
|
dirName: string;
|
|
11036
11040
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
@@ -11089,12 +11093,25 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11089
11093
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list)
|
|
11090
11094
|
*/
|
|
11091
11095
|
readonly list: HTMLDataListElement | null;
|
|
11092
|
-
/**
|
|
11096
|
+
/**
|
|
11097
|
+
* Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
|
|
11098
|
+
*
|
|
11099
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/max)
|
|
11100
|
+
*/
|
|
11093
11101
|
max: string;
|
|
11094
|
-
/**
|
|
11102
|
+
/**
|
|
11103
|
+
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
|
|
11104
|
+
*
|
|
11105
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength)
|
|
11106
|
+
*/
|
|
11095
11107
|
maxLength: number;
|
|
11096
|
-
/**
|
|
11108
|
+
/**
|
|
11109
|
+
* Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
|
|
11110
|
+
*
|
|
11111
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/min)
|
|
11112
|
+
*/
|
|
11097
11113
|
min: string;
|
|
11114
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength) */
|
|
11098
11115
|
minLength: number;
|
|
11099
11116
|
/**
|
|
11100
11117
|
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
@@ -11125,9 +11142,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11125
11142
|
required: boolean;
|
|
11126
11143
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */
|
|
11127
11144
|
selectionDirection: "forward" | "backward" | "none" | null;
|
|
11128
|
-
/**
|
|
11145
|
+
/**
|
|
11146
|
+
* Gets or sets the end position or offset of a text selection.
|
|
11147
|
+
*
|
|
11148
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
|
|
11149
|
+
*/
|
|
11129
11150
|
selectionEnd: number | null;
|
|
11130
|
-
/**
|
|
11151
|
+
/**
|
|
11152
|
+
* Gets or sets the starting position or offset of a text selection.
|
|
11153
|
+
*
|
|
11154
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart)
|
|
11155
|
+
*/
|
|
11131
11156
|
selectionStart: number | null;
|
|
11132
11157
|
size: number;
|
|
11133
11158
|
/** The address or URL of the a media resource that is to be considered. */
|
|
@@ -11157,7 +11182,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11157
11182
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity)
|
|
11158
11183
|
*/
|
|
11159
11184
|
readonly validity: ValidityState;
|
|
11160
|
-
/**
|
|
11185
|
+
/**
|
|
11186
|
+
* Returns the value of the data at the cursor's current position.
|
|
11187
|
+
*
|
|
11188
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
|
|
11189
|
+
*/
|
|
11161
11190
|
value: string;
|
|
11162
11191
|
/** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based. */
|
|
11163
11192
|
valueAsDate: Date | null;
|
|
@@ -12620,6 +12649,7 @@ declare var HTMLSlotElement: {
|
|
|
12620
12649
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement)
|
|
12621
12650
|
*/
|
|
12622
12651
|
interface HTMLSourceElement extends HTMLElement {
|
|
12652
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */
|
|
12623
12653
|
height: number;
|
|
12624
12654
|
/**
|
|
12625
12655
|
* Gets or sets the intended media type of the media source.
|
|
@@ -12643,6 +12673,7 @@ interface HTMLSourceElement extends HTMLElement {
|
|
|
12643
12673
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type)
|
|
12644
12674
|
*/
|
|
12645
12675
|
type: string;
|
|
12676
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */
|
|
12646
12677
|
width: number;
|
|
12647
12678
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12648
12679
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|