ladybird/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl
Timothy Flynn 27eb70cbba LibWeb: Implement HTMLSelectElement.add()
HTMLSelectElement simply defers to its HTMLOptionsCollection.
2022-03-22 02:08:15 +01:00

15 lines
483 B
Text

#import <HTML/HTMLElement.idl>
#import <HTML/HTMLOptionsCollection.idl>
interface HTMLSelectElement : HTMLElement {
[Reflect] attribute boolean disabled;
[Reflect] attribute boolean multiple;
[Reflect] attribute boolean required;
[SameObject] readonly attribute HTMLOptionsCollection options;
[CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
attribute long selectedIndex;
};