mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 23:02:06 +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
|
@ -23,6 +23,8 @@ public:
|
|||
|
||||
RefPtr<HTMLOptionsCollection> const& options();
|
||||
|
||||
DOM::ExceptionOr<void> add(HTMLOptionOrOptGroupElement element, Optional<HTMLElementOrElementIndex> before = {});
|
||||
|
||||
int selected_index() const;
|
||||
void set_selected_index(int);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue