Author: | backToNature |
---|---|
Views Total: | 2,989 views |
Official Page: | Go to website |
Last Update: | June 5, 2017 |
License: | MIT |
Preview:

Description:
ui-notify is a small JavaScript library used for displaying minimal, clean toast notifications and alert/confirm dialog boxes on the webpage.
How to use it:
Install and import the ui-notify to your project.
<script src="ui-notify.js"></script>
Create a basic toast message.
Notify.toast('Toast message here', { fn: function () { // callback function } })
Create an alert dialog.
Notify.alert('Alert Message')
Create a confirm dialog.
Notify.confirm({ title: 'Confirm Dialog', left: 'Cancel', right: 'Okey', class: '', modal: false, fn: function () {} });