ladybird/Userland/Libraries/LibWeb/HTML/HTMLOptionsCollection.idl
Matthew Olsson 26e6c47d0a IDL: Add missing spec links
The only IDL interface without a spec link is Internals
2023-11-11 08:51:51 +01:00

14 lines
625 B
Plaintext

#import <DOM/HTMLCollection.idl>
#import <HTML/HTMLOptionElement.idl>
#import <HTML/HTMLOptGroupElement.idl>
// https://html.spec.whatwg.org/#htmloptionscollection
[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;
};