Syntax

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

Parameters

eventType / staticEventType: StringThe event to subscribe to
subscriberFunction: FunctionFunction called when event is triggered

Static Events

“storagemutated”

Events

“ready”

“error”

“populate”

“blocked”

“versionchange”

“close”

Table of Contents