Changes for page LiveTableServiceWorker
Last modified by bougault on 2022/03/22 17:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,0 +1,16 @@ 1 +{{velocity}} 2 +$response.setContentType("text/javascript") 3 +self.addEventListener("install" , evt => { 4 + console.log(evt); 5 +}); 6 + 7 +self.addEventListener("activate" , evt => { 8 + console.log(evt); 9 + clients.claim(); 10 +}); 11 + 12 +self.addEventListener("fetch" , evt => { 13 + console.log(evt); 14 +}); 15 + 16 +{{/velocity}}