How to evaluate js and get result for webview window in tauri 2.0 #1427
Unanswered
crackleeeessyp
asked this question in
Q&A
Replies: 1 comment
-
wrong repo? In tauri you'll have to extend the eval code with something that calls a tauri api at the end (command or event whatever) if you want to return something. I think it would be okay to expose https://docs.rs/wry/latest/wry/struct.WebView.html#method.evaluate_script_with_callback in tauri too but there are no plans at the moment afaik |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Seems in tauri 2.0, webview window only have eval method, which cannot get the result from js?
Beta Was this translation helpful? Give feedback.
All reactions