From 1398d36c80157fd55f391f4c7b18f41626e2d61c Mon Sep 17 00:00:00 2001 From: Jonathon Smith Date: Tue, 15 Dec 2015 13:00:37 +0000 Subject: [PATCH] Added selectedOptions Property To HTMLSelectElement Fixes https://github.com/Microsoft/TypeScript/issues/6096 --- baselines/dom.generated.d.ts | 1 + inputfiles/addedTypes.json | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 996c28e57..ac98c48ef 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -6170,6 +6170,7 @@ interface HTMLSelectElement extends HTMLElement { * Returns whether an element will successfully validate based on forms validation rules and constraints. */ willValidate: boolean; + selectedOptions: HTMLCollection; /** * Adds an element to the areas, controlRange, or options collection. * @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. diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index 63ab9d66c..a7c2a7f19 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -290,5 +290,11 @@ "interface": "AudioContext", "name": "state", "type": "string" + }, + { + "kind": "property", + "interface": "HTMLSelectElement", + "name": "selectedOptions", + "type": "HTMLCollection" } ]