@internetarchive/bookreader 5.0.0-30-a → 5.0.0-30-b
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -58,6 +58,8 @@ export class IaBookReader extends LitElement {
|
|
58
58
|
const { detail } = e;
|
59
59
|
const fullscreen = !!detail.isFullScreen;
|
60
60
|
this.fullscreen = fullscreen;
|
61
|
+
this.dispatchEvent(new CustomEvent('fullscreenStatusUpdated', { detail: { fullscreen }}));
|
62
|
+
|
61
63
|
}
|
62
64
|
|
63
65
|
loadingStateUpdated(e) {
|
@@ -93,7 +95,6 @@ export class IaBookReader extends LitElement {
|
|
93
95
|
// LINER NOTES --- iaux.min.js is loading wayy to late for booknav listener, to br. init
|
94
96
|
|
95
97
|
render() {
|
96
|
-
console.log('ia-bookreader render & its itemNav: ', this.itemNav);
|
97
98
|
return html`
|
98
99
|
<div class="ia-bookreader">
|
99
100
|
<ia-item-navigator
|
@@ -108,6 +109,9 @@ export class IaBookReader extends LitElement {
|
|
108
109
|
.menuShortcuts=${this.menuShortcuts}
|
109
110
|
.menuContents=${this.menuContents}
|
110
111
|
>
|
112
|
+
<div slot="theater-header">
|
113
|
+
<slot name="theater-header"></slot>
|
114
|
+
</div>
|
111
115
|
<div slot="theater-main">
|
112
116
|
<book-navigator
|
113
117
|
.modal=${this.modal}
|