跨浏览器的桌面通知插件 Push.js
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://nickersoft.github.io/push.js/
- 软件文档: https://github.com/Nickersoft/push.js/blob/master/README.md
- 官方下载: https://github.com/Nickersoft/push.js/archive/master.zip
软件介绍
Push.js,是一款跨浏览器的Javascript桌面通知插件。这个通知API允许在当下流行的浏览器上使用,像Chrome, Safari, Firefox,和IE 9+。可以推送一个通知到用户桌面。如果用户的浏览器不支持这个新的API,会回滚到使用旧的实现方式。
运行效果:
示例代码:
创建通知
Push.create('Hello World!')
define(['pushjs'], function (Push) {
Push.create('Hello World!');
});
Push.count();关闭通知
Push.create('Hello World!', {
tag: 'foo'
});
// Somewhere later in your code...
Push.close('foo');
var promise = Push.create('Hello World!');
// Somewhere later in your code...
promise.then(function(notification) {
notification.close();
});
Push.clear();
Distributed Algorithms: An Intuitive Approach
Wan Fokkink / MIT Press / 2018-2-2 / USD 48.00
The new edition of a guide to distributed algorithms that emphasizes examples and exercises rather than the intricacies of mathematical models. This book offers students and researchers a guide to ......一起来看看 《Distributed Algorithms: An Intuitive Approach》 这本书的介绍吧!
