Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
});
})
.then(
() => {
this.handleReadyRendition();
},
() => {
this.errorLoading = true;
}
);
this.rendition.on(EVENTS.RENDITION.DISPLAY_ERROR, () => {
this.errorLoading = true;
});
});
this.book.on(EVENTS.BOOK.OPEN_FAILED, () => {
this.errorLoading = true;
});
},
beforeDestroy() {