JS-SDK: Added onContentReady event

This commit is contained in:
Ilya Oleshko 2024-08-15 16:07:20 +03:00
parent 706380fcbf
commit d5a0dc915d

View File

@ -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();
}
}
}