HTMLSelectElement.idl 579 B

1234567891011121314151617
  1. #import <HTML/HTMLElement.idl>
  2. #import <HTML/HTMLOptionsCollection.idl>
  3. // https://html.spec.whatwg.org/multipage/form-elements.html#htmlselectelement
  4. [Exposed=Window]
  5. interface HTMLSelectElement : HTMLElement {
  6. [Reflect] attribute boolean disabled;
  7. [Reflect] attribute boolean multiple;
  8. [Reflect] attribute boolean required;
  9. [SameObject] readonly attribute HTMLOptionsCollection options;
  10. [CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
  11. attribute long selectedIndex;
  12. };