HTMLOptionElement.idl 598 B

123456789101112131415
  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. [Reflect] attribute boolean disabled;
  6. [Reflect=selected] attribute boolean defaultSelected;
  7. attribute boolean selected;
  8. [CEReactions] attribute DOMString value;
  9. [CEReactions] attribute DOMString text;
  10. readonly attribute long index;
  11. };