Module

x/webview/src/webview.ts>Webview#eval

🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
Latest
method Webview.prototype.eval
import { Webview } from "https://dotland.deno.dev/x/webview@0.8.1/src/webview.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