mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
LibWeb/HTML: Dispatch command events
Command events are now dispatched when buttons are activated. The special commands for popovers and dialogs are also implemented.
This commit is contained in:
committed by
Tim Ledbetter
parent
cce7d8c0fb
commit
c0cbd439a2
Notes:
github-actions[bot]
2025-04-18 11:10:59 +00:00
Author: https://github.com/skyz1 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c0cbd439a21 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4220 Reviewed-by: https://github.com/tcl3 ✅
@@ -39,6 +39,9 @@ public:
|
||||
bool is_modal() const { return m_is_modal; }
|
||||
void set_is_modal(bool);
|
||||
|
||||
bool is_valid_invoker_command(String&) override;
|
||||
void invoker_command_steps(DOM::Element&, String&) override;
|
||||
|
||||
private:
|
||||
HTMLDialogElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user