1.3.1 • Published 8 years ago
hnotify v1.3.1
安装
npm install hnotify
使用
var nwNotify = require('hnotify');
//通知停留时间
nwNotify.setConfig({
displayTime: 60000
});
nwNotify.notify({ title: '通知', text: '内容', image: 'who.png', onClickFunc: function(){
//...
nwNotify.closeAll();
}});