Progressbar over entire app (webix Jet)

Hi

I now how to put a progress-bar on top of a component, to indicate that something is going on in the background.

But in a Webix JET app, how can I put such a progressbar over the entire app, regardless of which subview/url is active in it?

My app sometimes has to refresh an access-token for the backend, and when this happens, nothing else can be done in the app. A progress-bar would make that clear to the user, but I do not know how.

-mads

You can use something like next

var top = this.getTopParentView();
webix.extend(top, webix.ProgressBar);
top.showProgress();

It can be executed from context of any view. Code will locate the topmost Webix view and will show a progressbar for it.