virtualPageView and the virtual DOM

The virtualPageView is nice, but what’s really missing is another virtualPageLoaded kind of event that is triggered via appEvents.trigger(“virtualPageLoaded”) once all elements and widgets have been loaded for the page in view. Thus, scripts e.g. in GTM can query the final dom tree. When logged in via admin the mini profiler shows how long it took to render the full page, firing such an virtualPageLoaded event at that time would be nice for example.

We have now established a workaround where we wait for the required elements to be accessible, but I don’t like it this way.