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