webview_eval

public abstract Unit webview_eval(Pointer webview, String js)

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

webview

the handle of webview, usually returned by webview_create

js

the JS code