Push.js v0.0.11 發布,一個JavaScript桌面通告API

jopen 8年前發布 | 10K 次閱讀 Push.js JavaScript

Push.js是一個Javascript開發的快速桌面通告解決方案,這個通告API允許 Chrome, Safari, Firefox, and IE 9+等瀏覽器推送通告到用戶桌面。

DEMO見:http://nickersoft.github.io/push.js/demo.html#

更新日志

功能增強

  • Added support for the requireInteraction option, which allows notifications to persist until they are manually closed or clicked on by a user (#59)
  • Replaced Push.count (which could be assigned to) with Push.count() (which cannot) (#61)
  • Added support for custom service worker paths via the serviceWorker option (#67)
  • Updated the README & unit tests

Bug修復

  • Resolved issues where the notification count was not being updated when notifications were closed (#61)
  • Resolved an issue where Push was throwing an error if a notification with a timeout was manually closed before the timeout expired (#65)

下載

 

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/3ef6b639
 

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!