ServiceWorker$Typings extension
Properties
-
addEventListener
→ ({void Function<
K$>(ServiceWorkerEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on ServiceWorker, provided by the ServiceWorker$Typings extension
Overload accessor: $1, $2no setter - onstatechange ↔ dynamic Function(Event)?
-
Available on ServiceWorker, provided by the ServiceWorker$Typings extension
MDN Referencegetter/setter pair -
postMessage
→ ({void Function(List<
Object> transfer, [dynamic message]) $1, void Function([dynamic message, StructuredSerializeOptions? options]) $2}) -
Available on ServiceWorker, provided by the ServiceWorker$Typings extension
Overload accessor: $1, $2no setter -
removeEventListener
→ ({void Function<
K$>(ServiceWorkerEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on ServiceWorker, provided by the ServiceWorker$Typings extension
Overload accessor: $1, $2no setter - scriptURL → String
-
Available on ServiceWorker, provided by the ServiceWorker$Typings extension
MDN Referenceno setter - state → ServiceWorkerState
-
Available on ServiceWorker, provided by the ServiceWorker$Typings extension
MDN Referenceno setter