Dart SDK
dart:html
ServiceWorkerRegistration
class
ServiceWorkerRegistration
Properties
Methods
Properties
active
installing
scope
waiting
on
Methods
unregister
addEventListener
removeEventListener
dispatchEvent
(Not documented.)
Annotations
DocsEditable()
DomName('ServiceWorkerRegistration')
Experimental()
Extends
Object
EventTarget
ServiceWorkerRegistration
Properties
_ServiceWorker
active
read-only
_ServiceWorker
installing
read-only
String
scope
read-only
_ServiceWorker
waiting
read-only
Events
on
read-only ,
inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
Methods
unregister
(
) →
Future
addEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
removeEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
dispatchEvent
(
Event
event
) →
bool
inherited