Hi,
I am trying to indicate a running query through the loader indicator available with buttons. So, in my Javascript I write
buttonSynchronise.loading = true;
buttonSynchronise.loaderPosition = 'Suffix';
...code for triggering queries...
buttonSynchronise.loading = false;
However, the button never shows the loading icon even though the query process in between takes a while to complete.
Is this because loading
is a read-only property that can only be changed via a function, such as hidden
and disabled
? The latter offer corresponding functions, though, which I don't see for the loading
property.
Any ideas?