mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Add select and options collection remove method
This commit is contained in:
parent
5decf4b33c
commit
7372c01786
Notes:
sideshowbarker
2024-07-17 14:36:19 +09:00
Author: https://github.com/bplaat
Commit: 7372c01786
Pull-request: https://github.com/SerenityOS/serenity/pull/23895
Reviewed-by: https://github.com/shannonbooth
8 changed files with 62 additions and 3 deletions
|
@ -39,6 +39,8 @@ public:
|
|||
DOM::Element* item(size_t index);
|
||||
DOM::Element* named_item(FlyString const& name);
|
||||
WebIDL::ExceptionOr<void> add(HTMLOptionOrOptGroupElement element, Optional<HTMLElementOrElementIndex> before = {});
|
||||
void remove();
|
||||
void remove(WebIDL::Long);
|
||||
|
||||
int selected_index() const;
|
||||
void set_selected_index(int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue