Repository
Current version released
3 years ago
Dependencies
deno.land/x
Versions
Popup
GUI for javascript standard popup’s in deno.
Example
import { prompt } from "https://deno.land/x/popup/mod.ts";
prompt("Are you feeling lucky?", "sure");
result will look like this:
Overwrite Global Functions
import { alert, confirm, prompt } from "https://deno.land/x/popup/mod.ts";
window.alert = alert;
window.prompt = prompt;
window.confirm = confirm;
Prerequisites
Linux
- package
gtk4
should be installed.
Windows
- Install
MinGW
andmingw-w64-x86_64-gtk4
. - Add
C:\msys64\mingw64\bin
to path.