Service Worker Container
Exposes the JavaScript ServiceWorkerContainer to Kotlin
Constructors
Functions
Link copied to clipboard
fun addEventListener( type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun register(scriptURL: String, options: RegistrationOptions = definedExternally): Promise<ServiceWorkerRegistration>
Link copied to clipboard
fun removeEventListener( type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun removeEventListener( type: String, callback: EventListener?, options: dynamic = definedExternally)
Link copied to clipboard