【发布时间】:2012-02-01 18:43:52
【问题描述】:
使用 Web Notifications API,该应用最终可以显示 5 个以上的通知。通知不会自动关闭。有没有一种方法可以关闭所有打开的桌面通知?
谢谢
【问题讨论】:
标签: google-chrome webkit notifications
使用 Web Notifications API,该应用最终可以显示 5 个以上的通知。通知不会自动关闭。有没有一种方法可以关闭所有打开的桌面通知?
谢谢
【问题讨论】:
标签: google-chrome webkit notifications
您可以在通知变量上调用.cancel() 处理程序
【讨论】: