• Stars
    star
    177
  • Rank 215,985 (Top 5 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created over 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An alternative to original alert, confirm and prompt.

x0popup

Confirm Popup

An alternative to original alert, confirm and prompt.

If you are looking for a Promise-based unified UI library for all windows/modals/notifcations/pushes, please check my new project Windowise

Light - Just 4KB (js + css, after gzipped), no dependency.

Graceful - Flat design, suits for all devices.

Customizable - Allow user-defined themes.

Get x0popup

1.Install via npm

npm install x0popup

2.Install via bower

bower install x0popup

3.Download files manually from /dist

Get Started

1.Reference the x0popup files:

<script src="path/to/js/x0popup.min.js"></script>
<link rel="stylesheet" href="path/to/css/x0popup.min.css">

2.Test x0popup in javascript:

x0p('Message', 'Hello world!', 'info');

Tutorial & Advanced Usage

You can see full tutorial and document on x0popup.

To-do

1.TypeScript definitions

Contributing

Please leave an issue if you find any bugs, I will fix it ASAP.

If you have any new ideas, feel free to make a pull request and wait for acceptance.