mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:37:46 +00:00
LibWeb: Add internals.wheel() to simulate mouse wheel events
This function allows us to write tests for scrolling scenarios where the events are processed by the EventHandler.
This commit is contained in:
parent
e38ccebfc8
commit
40246adfb9
5 changed files with 48 additions and 0 deletions
|
@ -26,6 +26,7 @@ public:
|
|||
void commit_text();
|
||||
|
||||
void click(double x, double y);
|
||||
void wheel(double x, double y, double delta_x, double delta_y);
|
||||
|
||||
WebIDL::ExceptionOr<bool> dispatch_user_activated_event(DOM::EventTarget&, DOM::Event& event);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue