Skip to main content
Module

x/webview/examples/local.ts

🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
Latest
File
import { Webview } from "../mod.ts";
const html = ` <html> <body> <h1>Hello from deno v${Deno.version.deno}</h1> </body> </html>`;
const webview = new Webview();
webview.navigate(`data:text/html,${encodeURIComponent(html)}`);webview.run();