mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 17:58:49 +00:00
LibWeb: Implement HTMLFormElement.requestSubmit()
This can be used to submit a form using a specific submit button.
This commit is contained in:
parent
94149db073
commit
816d24f647
Notes:
sideshowbarker
2024-07-17 22:01:16 +09:00
Author: https://github.com/tcl3
Commit: 816d24f647
Pull-request: https://github.com/SerenityOS/serenity/pull/23204
Reviewed-by: https://github.com/trflynn89 ✅
5 changed files with 72 additions and 1 deletions
|
@ -65,6 +65,9 @@ public:
|
|||
// NOTE: This is for the JS bindings. Use submit_form instead.
|
||||
WebIDL::ExceptionOr<void> submit();
|
||||
|
||||
// NOTE: This is for the JS bindings. Use submit_form instead.
|
||||
WebIDL::ExceptionOr<void> request_submit(JS::GCPtr<Element> submitter);
|
||||
|
||||
// NOTE: This is for the JS bindings. Use submit_form instead.
|
||||
void reset();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue