Serenity Operating System
at master 22 lines 758 B view raw
1#import <HTML/HTMLElement.idl> 2#import <HTML/HTMLOptionsCollection.idl> 3 4// https://html.spec.whatwg.org/multipage/form-elements.html#htmlselectelement 5[Exposed=Window] 6interface HTMLSelectElement : HTMLElement { 7 8 [Reflect] attribute boolean disabled; 9 [Reflect] attribute boolean multiple; 10 [Reflect] attribute boolean required; 11 [SameObject] readonly attribute HTMLOptionsCollection options; 12 13 readonly attribute DOMString type; 14 15 readonly attribute unsigned long length; 16 getter Element? item(unsigned long index); 17 getter Element? namedItem(DOMString name); 18 [CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null); 19 20 attribute long selectedIndex; 21 22};