MaterialNotify is an extremely lightweight material notice using Javascript (JQuery) and CSS. On Android, I love to use snack bars and now I’ve made something like this in HTML.
push notification material design, status bar notification, android group notifications, send notification to android app, notification snackbar android
Features:
- Success and alert messages.
- Rejects alert after a timeout.
- The lower progress bar indicates the remaining time.
- Trigger a function after a timeout.
How to make use of it:
1. Import the jQuery library and the MaterialNotify plugin’s files into the HTML doc.
<link rel="stylesheet" href="/materialNotify.css" /> <script src="/path/to/cdn/jquery.min.js"></script> <script src="/materialNotify.js"></script>
2. Create notification bars utilizing the notify
function.
// alert notification // auto dismiss after 10 seconds notify("Alert text", 10, true); // success notification // auto dismiss after 5 seconds notify("Success text", 5, false);
3. Trigger a function as quickly because the notification bar is dismissed.
notify("Trigger A Function", 10, false, function(){ // do something });
Android Style Snackbar & Toast Plugin, MaterialNotify Github, bootstrap snackbar, snackbar js, custom snackbar android
See Demo And Download
Official Website(AmirMehr): Click Here
This superior jQuery/javascript plugin is developed by AmirMehr. For extra Advanced Usages, please go to the official website.