How to tell if page is loading in theme component / widget?

I think to hack into the discovery route by using the modifyClass API then trigger some custom event would work.

https://api.emberjs.com/ember/3.12/classes/Route

The loading variable comes from the discovery route that I mentioned above, the widget attached to plugin-outlet may not able to access it since it doesn’t pass as an argument, it depends on the definition of plugin-outlet.