webview_eval
public final Unit webview_eval(CPointer<? extends CPointed> w, String js)
Content copied to clipboard
Evaluates arbitrary JavaScript code.
Evaluation happens asynchronously, also the result of the expression is ignored. Use the webview_bind
function if you want to receive notifications about the results of the evaluation.
Parameters
w
the handle of webview, usually returned by webview_create
js
the JS code