Dexie.on.blocked
Syntax
db.on("blocked", function () {});Description
Sample
var db = new Dexie("MyDB");
db.on("blocked", function() {
alert ("Database upgrading was blocked by another window. " +
"Please close down any other tabs or windows that has this page open");
});