THEMETRIAL

Simple Interactable Notifications For Web App – ahNotification.js

Author:ahmadhayyan
Views Total:0 views
Official Page:Go to website
Last Update:April 30, 2021
License:MIT

Preview:

Simple Interactable Notifications For Web App – ahNotification.js

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="https://www.cssscript.com/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);


Source link

Add comment

NOTE :

All visitors can share my site’s content on their blogs, sites, and social networks to enrich the content

Only share the source www.themetrial.com

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.