WebView.eval

Eval some js code. When it is done, func() is called (optional)

void callback(JSValue v) { writeln("Result from js: ", v); }
webview.eval!callback("1+1");
struct WebView
void
eval
(
alias func = null
)
(
string js
,
void* extra = null
)

Meta