Namespaces
Events
converse-loaded
Once Converse.js has loaded, it'll dispatch a custom event with the name converse-loaded
.
You can listen for this event in order to be informed as soon as converse.js has been
loaded and parsed, which would mean it's safe to call converse.initialize
.
- Source:
Example
window.addEventListener('converse-loaded', () => converse.initialize());