ladybird/Userland/Libraries/LibWeb/HTML/HTMLOptionsCollection.idl
2022-03-22 02:08:15 +01:00

13 lines
570 B
Plaintext

#import <DOM/HTMLCollection.idl>
#import <HTML/HTMLOptionElement.idl>
#import <HTML/HTMLOptGroupElement.idl>
[Exposed=Window]
interface HTMLOptionsCollection : HTMLCollection {
// [CEReactions] attribute unsigned long length; // shadows inherited length
// [CEReactions] setter undefined (unsigned long index, HTMLOptionElement? option);
[CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
// [CEReactions] undefined remove(long index);
// attribute long selectedIndex;
};