HTMLOptionElement.idl 662 B

1234567891011121314151617
  1. #import <HTML/HTMLElement.idl>
  2. // https://html.spec.whatwg.org/multipage/form-elements.html#htmloptionelement
  3. [Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
  4. interface HTMLOptionElement : HTMLElement {
  5. [HTMLConstructor] constructor();
  6. [CEReactions, Reflect] attribute boolean disabled;
  7. [CEReactions, Reflect=selected] attribute boolean defaultSelected;
  8. attribute boolean selected;
  9. [CEReactions] attribute DOMString value;
  10. [CEReactions] attribute DOMString text;
  11. readonly attribute long index;
  12. };