notice.js
v0.4.0
Published
A beautiful and modern, yet fully customizable notification library
Downloads
25
Readme
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
- Using Bower:
bower install notice.js --save
- Direct download: Click here
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();