Skip to main content

eval_js

Function eval_js 

Source
fn eval_js(
    window_opt: &Option<Arc<WebviewWindow<Wry>>>,
    js: &str,
) -> Result<Value, String>
Expand description

Evaluates JavaScript in the webview and returns the result as a serde_json::Value.