2022-02-15 22:40:51 +03:30
|
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://html.spec.whatwg.org/multipage/form-elements.html#htmloptionelement
|
|
|
|
[Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
|
2020-08-01 03:05:43 +01:00
|
|
|
interface HTMLOptionElement : HTMLElement {
|
|
|
|
|
2023-03-23 03:48:52 -04:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
2020-11-09 08:15:10 +00:00
|
|
|
[Reflect] attribute boolean disabled;
|
|
|
|
[Reflect=selected] attribute boolean defaultSelected;
|
2022-03-20 16:13:58 +01:00
|
|
|
attribute boolean selected;
|
2022-04-12 13:29:16 -03:00
|
|
|
[CEReactions] attribute DOMString value;
|
|
|
|
|
|
|
|
[CEReactions] attribute DOMString text;
|
|
|
|
readonly attribute long index;
|
2022-03-20 16:13:58 +01:00
|
|
|
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|