Hi all,
I am have extended web app builder and built a custom widget. I have a client side function that takes between 10 and 20 seconds to run. The function is client side and does not make a call to the server.
I would like to indicate to the user that the function is running when a user calls this function and also show when the function is finished. The function is called via a click event on a button.
I have used the "dijit/ProgressBar" but this seems to work with requests made to the server but not client side functions.
Typically I use it as follows
html.setStyle("domNode", 'display', 'block');
"domNode".set('label','processing please wait...');
After the function is finished
html.setStyle("domNode", 'display', 'none');
Is it possible to such a work flow with client side functions?