https://github.com/ahgilak/popup
GUI for javascript standard popup's in deno.
https://github.com/ahgilak/popup
deno ffi
Last synced: 2 months ago
JSON representation
GUI for javascript standard popup's in deno.
- Host: GitHub
- URL: https://github.com/ahgilak/popup
- Owner: ahgilak
- Created: 2021-12-19T21:42:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-08T18:16:59.000Z (almost 4 years ago)
- Last Synced: 2025-09-18T19:42:32.144Z (9 months ago)
- Topics: deno, ffi
- Language: JavaScript
- Homepage: https://deno.land/x/popup
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Popup
GUI for javascript standard popup's in [deno](https://deno.land/).
## Example
```javascript
import { alert, confirm } from "https://deno.land/x/popup/mod.ts";
if (confirm("Press a button!") == true) {
alert("You pressed OK!");
} else {
alert("You canceled!");
}
```
## Prerequisites
- on linux `gtk4` package is needed.