Skip to content

bilal-elchami/bil-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bil-notification

Bil-notification is a JavaScript library that can be used to add notification feature to a web page.

Live demo

What is this repository for?

  • Non-blocking web notification
  • Version 1.0
  • Demo on

How do I get set up?

  • Link the js file
<script src="js/bil.notification.js"></script>
  • Link the css file
<link rel="stylesheet" href="css/bil.notification.css">
  • Create a notification in your script as follow
showNotification('notification_type',
                 'notification_title',
                 'notification_text',
                 delayTime = 5000,
                 newOnTop = false);
  • Create a Snackbar in your script as follow
createSnackBar('notification_text',5000 [delayTime in ms]);

Compatible Notification Types

  • success
  • danger
  • warning
  • info

Who do I talk to?

  • Repo owner or admin

About

Lightweight non-blocking web notification library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published