瀏覽代碼

fix(core): expose `PageLoadPayload` struct (#1590)

Lucas Fernandes Nogueira 4 年之前
父節點
當前提交
5e65b768e5
共有 2 個文件被更改,包括 6 次插入1 次删除
  1. 5 0
      .changes/expose-page-load-payload.md
  2. 1 1
      core/tauri/src/lib.rs

+ 5 - 0
.changes/expose-page-load-payload.md

@@ -0,0 +1,5 @@
+---
+"tauri": patch
+---
+
+Expose `PageLoadPayload` struct.

+ 1 - 1
core/tauri/src/lib.rs

@@ -49,7 +49,7 @@ use std::path::PathBuf;
 // Export types likely to be used by the application.
 pub use {
   api::config::WindowUrl,
-  hooks::InvokeMessage,
+  hooks::{InvokeMessage, PageLoadPayload},
   runtime::app::{App, Builder},
   runtime::webview::Attributes,
   runtime::window::export::Window,