4 ms·
Yes, it comes down to when animation events fire which I believe is after DOMContentLoaded. In MUI we detect all elements present in the DOM when DOMContentLoa
by andres 9y ago
Yes, it comes down to when animation events fire which I believe is after DOMContentLoaded.
In MUI we detect all elements present in the DOM when DOMContentLoaded fires using document.querySelectorAll() and then use SentinelJS to detect elements added after.