Skip to content

alihesari/notice.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notice.js

A beautiful and modern, yet fully customizable notification library.

Download & Install

  • You can quickly install Notice.js via NPM:
npm install notice.js --save
bower install notice.js --save

Link styles

<link rel="stylesheet" href="dist/noticejs.css" />

Add scripts

<script src="dist/notice.js"></script>

Usage

Basic:

new NoticeJs({
    text: 'Notification message',
    position: 'topLeft',
}).show();

With animation:

Supports css animations, animate.css

new NoticeJs({
    text: 'Notification message',
    position: 'topLeft',
    animation: {
        open: 'animated bounceInRight',
        close: 'animated bounceOutLeft'
    }
}).show();

About

💯 Javascript notification library

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •