JS-SDK: Added onContentReady event
This commit is contained in:
parent
706380fcbf
commit
d5a0dc915d
@ -98,6 +98,7 @@
|
||||
onSignOut: null,
|
||||
onDownload: null,
|
||||
onNoAccess: null,
|
||||
onContentReady: null,
|
||||
},
|
||||
};
|
||||
|
||||
@ -814,7 +815,10 @@
|
||||
targetFrame.style.height = this.config.height;
|
||||
targetFrame.parentNode.style.height = "inherit";
|
||||
|
||||
if (loader) loader.remove();
|
||||
if (loader) {
|
||||
loader.remove();
|
||||
this.config.events.onContentReady();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user