Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
Latest
method Webview.prototype.init
import { Webview } from "https://deno.land/x/webview@0.8.0/src/webview.ts";

Injects JavaScript code at the initialization of the new page. Every time the webview will open a the new page - this initialization code will be executed. It is guaranteed that code is executed before window.onload.

Parameters

source: string