diff --git a/.changes/eval-with-callback.md b/.changes/eval-with-callback.md index 795781a70..82b05d4ed 100644 --- a/.changes/eval-with-callback.md +++ b/.changes/eval-with-callback.md @@ -1,5 +1,5 @@ --- -"wry": "minor" +"wry": patch --- On Windows, Linux and macOS, add method `evaluate_script_with_callback` to execute javascipt with a callback. diff --git a/src/webview/mod.rs b/src/webview/mod.rs index 3f8df9cb2..cbcf715a6 100644 --- a/src/webview/mod.rs +++ b/src/webview/mod.rs @@ -813,9 +813,9 @@ impl WebView { /// /// [`EventLoopProxy`]: crate::application::event_loop::EventLoopProxy /// - /// Exception is ignored because of the limitation on windows. You can catch it your self and return as string as a workaround. + /// Exception is ignored because of the limitation on windows. You can catch it yourself and return as string as a workaround. /// - /// - ** Android:** Not implemented. + /// - ** Android:** Not implemented yet. pub fn evaluate_script_with_callback( &self, js: &str,