Dexie.on()

Syntax

db.on(eventType, subscriberFunction);
Dexie.on(staticEventType, subscriberFunction)

Parameters

eventType / staticEventType: String
The event to subscribe to

subscriberFunction: Function

Function called when event is triggered

Static Events

"storagemutated"

Events

"ready"

"error"

"populate"

"blocked"

"versionchange"

"close"