Demo
var config = {
position:
,
autoclose:
,
expire:
,
notification: {
ntitle:
,
nbody:
,
icon:
,
tag:
,
dir:
},
onShowFn: function() {
console.info('onShowFn is executed when the notification appears.');
},
onClickFn: function() {
console.info('onClickFn is executed when an user click on the body of the notification.');
},
onCloseFn: function() {
console.info('onCloseFn is executed when the notification is closed.');
}
};