Skip to main content
Module

x/webview/mod.ts

🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
Latest
import * as webview from "https://deno.land/x/webview@0.7.6/mod.ts";

Classes

An instance of a webview window.

Variables

Window size hints

Functions

Loads the ./WebView2Loader.dll for running on Windows. Removes old version if it already existed, and only runs once. Should be run on the main thread so that the unload gets hooked in properly, otherwise make sure unload gets called during the window.onunload event (after all windows are closed).

Unload the library and destroy all webview instances. Should only be run once all windows are closed. If preload was called in the main thread, this will automatically be called during the window.onunload event; otherwise, you may have to call this manually.

Interfaces

Window size

Type Aliases

Window size hints