I see from your developer docs that I can listen to rendering elements like so:
Preview rendered
@since Cornerstone 7.5.11
The JS event cs-preview-render
will dispatch every time Cornerstone has had a change with it’s document. This can be useful if your custom element should resize based on a possible change to the document.
window.addEventListener('cs-preview-render', function() {
console.log('Cornerstone has rendered');
});
However, this does not fire when there are page or global CSS/JS updates. Is there a separate listener for those?