Let me explain…
I’m not talking about post a subscription.isready, or are elements of templates loaded (obviously important) - but rather are ALL elements of the DOM actually rendered?
What I’ve found w/ onRendered and working with dynamic templates / adds, etc. the OnRendered will fire long before the elements (particularly img) have actually rendered. Effect being that any jquery type of control (e.g., DataTables, pick your carousel, etc.) don’t initialize properly. Same can be said for any dynamically applied css.
As a temporary work around, I’ve wrapped onRendered logic in a Meteor.setTimeout - but that isn’t sustainable (given connectivity, mobility delays, etc.) - but it does make things work at least in the laboratory.
My ask - is there a way to actually detect when ALL elements of the DOM have been loaded and are ready?