Module

x/webview/mod.ts>Webview#eval

🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
Go to Latest
method Webview.prototype.eval
import { Webview } from "https://dotland.deno.dev/x/webview@0.7.3/mod.ts";

Evaluates arbitrary JavaScript code. Evaluation happens asynchronously, also the result of the expression is ignored. Use {@link Webview.bind | bindings} if you want to receive notifications about the results of the evaluation.

Parameters

source: string