Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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://deno.land/x/webview@0.8.1/src/webview.ts";

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

Parameters

source: string