Skip to main content
Module

x/webview/examples/multiple.ts

🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
Go to Latest
File
import { WebView } from "../mod.ts";
const webview1 = new WebView({ title: "Multiple deno_webview example", url: `data:text/html, <html> <body> <h1>1</h1> </body> </html> `, width: 800, height: 600, resizable: true, debug: true, frameless: false});
const webview2 = new WebView({ title: "Multiple deno_webview example", url: `data:text/html, <html> <body> <h1>2</h1> </body> </html> `, width: 800, height: 600, resizable: true, debug: true, frameless: false});
while (webview1.step() && webview2.step()) {}