Skip to content

Commit c89ed31

Browse files
committed
Merge pull request #34 from crash-dive/selectedOptions
Added selectedOptions Property To HTMLSelectElement
2 parents 472b4b1 + 1398d36 commit c89ed31

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6170,6 +6170,7 @@ interface HTMLSelectElement extends HTMLElement {
61706170
* Returns whether an element will successfully validate based on forms validation rules and constraints.
61716171
*/
61726172
willValidate: boolean;
6173+
selectedOptions: HTMLCollection;
61736174
/**
61746175
* Adds an element to the areas, controlRange, or options collection.
61756176
* @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.

inputfiles/addedTypes.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,5 +290,11 @@
290290
"interface": "AudioContext",
291291
"name": "state",
292292
"type": "string"
293+
},
294+
{
295+
"kind": "property",
296+
"interface": "HTMLSelectElement",
297+
"name": "selectedOptions",
298+
"type": "HTMLCollection"
293299
}
294300
]

0 commit comments

Comments
 (0)