LibWeb: Add select and options collection remove method

This commit is contained in:
Bastiaan van der Plaat
2024-04-08 21:56:33 +02:00
committed by Andreas Kling
parent 5decf4b33c
commit 7372c01786
8 changed files with 62 additions and 3 deletions

View File

@@ -28,6 +28,8 @@ public:
WebIDL::ExceptionOr<void> add(HTMLOptionOrOptGroupElement element, Optional<HTMLElementOrElementIndex> before = {});
void remove(WebIDL::Long);
WebIDL::Long selected_index() const;
void set_selected_index(WebIDL::Long);