mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
LibWeb: Implement HTMLSelectElement.add()
HTMLSelectElement simply defers to its HTMLOptionsCollection.
This commit is contained in:
parent
ff9856a214
commit
27eb70cbba
3 changed files with 11 additions and 0 deletions
|
@ -8,6 +8,8 @@ interface HTMLSelectElement : HTMLElement {
|
|||
[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;
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue