node-webkit窗口能否顶置
 发布于 12 年前  作者 VDON  5427 次预览  最后一次回复是 11 年前  来自  

做一个类似于闹钟的东西。提醒应该怎么写?新建的窗口能否顶置?package.json里好像没有顶置设置。。

2 回复
gitchs

顶置

{
	"name":"test",
	"main":"index.html",
  "window":{
    "always-on-top":true
  }
}

提醒:可以使用浏览器的notification API,具体的参考链接