Author: | ahmadhayyan |
---|---|
Views Total: | 91 views |
Official Page: | Go to website |
Last Update: | April 30, 2021 |
License: | MIT |
Preview:

Description:
A simple, lightweight notification library that provides 4 types of flash messages with custom action buttons for web applications.
How to use it:
1. Insert the ahNotification.js
JavaScript library into your webpage.
<script id="ahNotification" src="ahNotification.min.js"></script>
2. Display a notification popup on the screen using the popupNotification
method.. The first parameter is used to specify the notification type:
popupNotification('Info', 'Info messages'); popupNotification('Success', 'Success messages'); popupNotification('Warnings', 'Warning messages'); popupNotification('Error', 'Error messages');
3. Create a confirmation popup.
popupNotification('Warnings', 'Are You Sure?', true, myFunction);