How to use the moduleReadyEvent?
Hello all,
I do not know how precisely to use the moduleReadyEvent. For example, if I like to display a text saying "The module is ready" when all content is loaded, how is it done in detail? This question concerns Captivate 9, publishing in HTML5.
What I did so far: I used the following code and put it in the head of the index.html:
window.addEventListener("moduleReadyEvent", function(evt)
{
var interfaceObj = evt.Data;
var eventEmitterObj = interfaceObj.getEventEmitter();
});
But how do I proceed? How (in detail) can I reach that the text of above (as an example) is displayed when the content is ready? I tried a lot but the moduleReadyEvent stays mysterious for me.
I`m very grateful for any advise on this topic!
