Building Progressive Web Apps: Bringing the Power of Native to the Browser by Ater Tal
Author:Ater, Tal [Ater, Tal]
Language: eng
Format: azw3, epub
Publisher: O'Reilly Media
Published: 2017-08-08T04:00:00+00:00
Registering Events
To register a sync event, you can call register on the SyncManager, passing it the name (also known as the tag) of the sync event you would like to register.
For example, to register a "send-messages" event from the service worker, you can use the following code:
self.registration.sync.register("send-messages");
To register the same event from a page controlled by a service worker, use the following code:
navigator.serviceWorker.ready.then(function(registration) { registration.sync.register("send-messages"); });
Download
Building Progressive Web Apps: Bringing the Power of Native to the Browser by Ater Tal.epub
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(8763)
Hello! Python by Anthony Briggs(8647)
The Mikado Method by Ola Ellnestam Daniel Brolund(8567)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7190)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(6893)
Grails in Action by Glen Smith Peter Ledbrook(6711)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(6385)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5212)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(4752)
Kotlin in Action by Dmitry Jemerov(3998)
Functional Programming in JavaScript by Mantyla Dan(3466)
Learning Java by Patrick Niemeyer & Daniel Leuck(2616)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2524)
Mastering Java 9 by Dr. Edward Lavieri(2325)
Learning Concurrency in Python by Elliot Forbes(2251)
Architecting Modern Java EE Applications: Designing lightweight, business-oriented enterprise applications in the age of cloud, containers, and Java EE 8 by Daschner Sebastian(2108)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2068)
Pandas Cookbook by Theodore Petrou(2006)
PHP 7 Data Structures and Algorithms by Mizanur Rahman(1936)
