mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +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._layout.on(EVENTS.LAYOUT.UPDATED, (props, changed) => {
|
||||
console.log("layout", props);
|
||||
this.emit(EVENTS.RENDITION.LAYOUT, props);
|
||||
this.emit(EVENTS.RENDITION.LAYOUT, props, changed);
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue