@internetarchive/ia-book-actions 0.0.29-alpha24 → 0.0.29-alpha25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/ia-book-actions.js +1 -0
package/package.json
CHANGED
package/src/ia-book-actions.js
CHANGED
|
@@ -236,6 +236,7 @@ export default class IABookActions extends LitElement {
|
|
|
236
236
|
bindLoanRenewEvents() {
|
|
237
237
|
// dispatched this event from bookreader page changed
|
|
238
238
|
window.addEventListener('BookReader:pageChanged', event => {
|
|
239
|
+
console.log(event);
|
|
239
240
|
if (this.borrowType === 'browsed' && event.detail.hasPageChanged) {
|
|
240
241
|
console.log('actual page changed executed!')
|
|
241
242
|
this.autoLoanRenewChecker(true);
|