This is a javascript library for showing notifications in javascript apps, React apps and many more..... It has many features like swipe for touch devices, light and dark themes, four templates for different notifications( normal, alert, error, success), compatible on all major devices. I hope you will like it.
https://shlok-jain.github.io/Notification-library#demo
- Swipe to close on touch devices
- You can choose from two themes(light,dark)
- Pause timer when window loses focus
- Different types of notifications for different type of messages( normal, alert, error, success )
- You can manually close notification( .hide() method)hover on notification to pause timer
- You can specify time to show notification
- and many more.....
Install NotificationJS with cdn
<script src="https://cdn.jsdelivr.net/gh/Shlok-Jain/Notification-library@latest/index.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Shlok-Jain/Notification-library@latest/index.css">