mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Implement HTMLSelectElement.add()
HTMLSelectElement simply defers to its HTMLOptionsCollection.
This commit is contained in:
committed by
Andreas Kling
parent
ff9856a214
commit
27eb70cbba
Notes:
sideshowbarker
2024-07-17 16:57:54 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/27eb70cbba Pull-request: https://github.com/SerenityOS/serenity/pull/13182
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user