mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-14 23:38:57 +00:00
fire pageshow after load
This commit is contained in:
@@ -37,6 +37,7 @@ const HTMLDocument = @import("html/document.zig").HTMLDocument;
|
||||
|
||||
const NavigationKind = @import("navigation/root.zig").NavigationKind;
|
||||
const NavigationCurrentEntryChangeEvent = @import("navigation/root.zig").NavigationCurrentEntryChangeEvent;
|
||||
const PageTransitionEvent = @import("events/PageTransitionEvent.zig");
|
||||
|
||||
const js = @import("js/js.zig");
|
||||
const URL = @import("../url.zig").URL;
|
||||
@@ -674,6 +675,8 @@ pub const Page = struct {
|
||||
parser.toEventTarget(Window, &self.window),
|
||||
loadevt,
|
||||
);
|
||||
|
||||
PageTransitionEvent.dispatch(&self.window, .show, false);
|
||||
}
|
||||
|
||||
fn pageHeaderDoneCallback(transfer: *Http.Transfer) !void {
|
||||
|
||||
Reference in New Issue
Block a user