summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLOptionsCollection.idl
blob: 084317ab034542449fa2eea9411d5eb6b3ac2b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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;
};