<script src="notify.js" charset="utf-8"></script>
var options = {
title: "customized title",
dir: "rtl",
body: "customized notification",
timeout: 1000,
icon: 'images/bell-icon.png',
};
var notify = new notify(options);
/* the order need use callback */
var test = notify.show();
var defaults = {
title: 'default title', // String
dir: 'ltr', // String
body: 'default notification', // String
icon: 'images/bell-icon.png', // String, path to the icon image
timeout: 2000 // int
};
trigger something when click the notification
notify.show('onclick', function(){
alert("Trigger Something after click the notification");
});