A beautiful and modern, yet fully customizable notification library.
- 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 rel="stylesheet" href="dist/noticejs.css" />
<script src="dist/notice.js"></script>
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();