ExtendableEvent

ExtendableEvent

package js-html

extends Event

extended by ExtendableMessageEvent, FetchEvent, NotificationEvent

Available on js

The ExtendableEvent interface extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.

Documentation ExtendableEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (type:String, ?eventInitDict:ExtendableEventInit)

Throws:

null DOMError

Methods

waitUntil (p:Promise<Dynamic>):Void

Throws:

null DOMError

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/ExtendableEvent.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部