Trigger event on View startup/refresh/etc

I'm struggling to fire an event off every time a dock loads, whether it's by browser page refresh, project update which reloads the page, initial session launch, or loads of a page after visiting another url and you come back.

Currently, I can get it to fire on project update reload (project update notification shows and push reload) and on initial session launch, but I can't get it to work for browser page refreshes and url navigations to and from (e.g. navigate to Perspective client url, then navigate to google, then back to Perspective, in this case the even will only trigger on the first nav to Perspective, not the second as well).

I can't figure out how I can trigger on these events... I only want it to trigger on loading/reloading of the dock, not of a main view.

It's the same with page reloads for main views. There simply is no event for that. There is no way to distinguish such deliberate reloads from brief connection break/restore events, and having the latter cause side effects would be disastrous.

2 Likes