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.
Hello! Python by Anthony Briggs(9864)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9754)
The Mikado Method by Ola Ellnestam Daniel Brolund(9744)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8255)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7742)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7738)
Grails in Action by Glen Smith Peter Ledbrook(7664)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7513)
Windows APT Warfare by Sheng-Hao Ma(6494)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6375)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(6240)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(6109)
Kotlin in Action by Dmitry Jemerov(5016)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4294)
Functional Programming in JavaScript by Mantyla Dan(4015)
Solidity Programming Essentials by Ritesh Modi(3834)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3610)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3560)
The Ultimate iOS Interview Playbook by Avi Tsadok(3528)
