mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibWeb: Add the PageTransitionEvent interface and fire "pageshow" events
We now fire "pageshow" events at the appropriate time during document loading (done by the parser.) Note that there are no corresponding "pagehide" events yet.
This commit is contained in:
parent
508edcd217
commit
831fdcaabc
7 changed files with 70 additions and 4 deletions
|
@ -83,6 +83,8 @@ public:
|
|||
float scroll_x() const;
|
||||
float scroll_y() const;
|
||||
|
||||
void fire_a_page_transition_event(FlyString event_name, bool persisted);
|
||||
|
||||
private:
|
||||
explicit Window(Document&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue