mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Update layout event
This commit is contained in:
parent
46800b05b6
commit
628be87534
1 changed files with 1 additions and 2 deletions
|
@ -602,8 +602,7 @@ class Rendition {
|
||||||
// this.mapping = new Mapping(this._layout.props);
|
// this.mapping = new Mapping(this._layout.props);
|
||||||
|
|
||||||
this._layout.on(EVENTS.LAYOUT.UPDATED, (props, changed) => {
|
this._layout.on(EVENTS.LAYOUT.UPDATED, (props, changed) => {
|
||||||
console.log("layout", props);
|
this.emit(EVENTS.RENDITION.LAYOUT, props, changed);
|
||||||
this.emit(EVENTS.RENDITION.LAYOUT, props);
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue