oninstall
handler, the InstallEvent
interface represents an install action that is dispatched on the ServiceWorkerGlobalScope
of a ServiceWorker
. As a child of ExtendableEvent
, it ensures that functional events such as FetchEvent
are not dispatched during installation. activeWorker
read-only property of the InstallEvent
interface returns the ServiceWorker
that is currently actively controlling the page.InstallEvent()
constructor creates a new InstallEvent
object.