Guify gives you toast notifications, as well as an optional header bar to give your project a "web app" look. Each component of the GUI can be bound to a variable so you don't have to manually poll its state.
Guify is designed to be accessibility-friendly, but I don't have a good way to test it. If something doesn't work for you, please file an issue and I'll do my best to help!
npm install --save guify, or copy
The API can be found at /docs/api.md.
First import using either
require or ES6 imports:
// ES6// Requirelet guify = ;
Then you can make a quick GUI this way:
var gui =title: "Some Title"align: 'right'theme: 'light';gui;
See example.html for a more complete example.
Building This Package
If you want to build this package, you can run
npm install and then
npm run build, which will create
/lib/guify.min.js, the default script used by this package.
devand serves the
/exampledirectory as a static web page.
If you're working with Visual Studio Code, download my CSJS Syntax Highlighter plugin to help when editing any of the
.csjs.js files in
MIT license. See license.md for specifics.