Merge pull request #15058 from Snuffleupagus/rm-baseviewerinit-event
[api-minor] Remove the "baseviewerinit" event since it's unused (PR 14324 follow-up)
This commit is contained in:
commit
f516bb2174
@ -323,11 +323,6 @@ class BaseViewer {
|
||||
this.viewer.classList.add("removePageBorders");
|
||||
}
|
||||
this.updateContainerHeightCss();
|
||||
// Defer the dispatching of this event, to give other viewer components
|
||||
// time to initialize *and* register 'baseviewerinit' event listeners.
|
||||
Promise.resolve().then(() => {
|
||||
this.eventBus.dispatch("baseviewerinit", { source: this });
|
||||
});
|
||||
}
|
||||
|
||||
get pagesCount() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user