onappinstalled - for when an app is installed.
Chrome has recently (well at least in 2017) implemented window.onappinstalledevent. It is triggered w...
Tags: pwa, javascript