eval

public final Unit eval(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

js

the JS code