Page 1 of 1

Loading Animation on Server Call

Posted: Sun Mar 01, 2020 11:23 pm
by acharyam
How to apply loading animation when making a ajaxJSON() call?

Now iam trying with the below code :

pui["loading animation"]["css"] = 'loader';
let response = ajaxJSON({ url: "http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" });
pui["loading animation"]["css"] = '';

Please suggest some better approach to apply loading animation on making a server call.

Re: Loading Animation on Server Call

Posted: Mon Mar 02, 2020 11:02 am
by Scott Klement
Those variables you're changing are for configuring the Profound UI loading animation. They are only a configuration setting, changing them will not cause the animation to immediately run.

We do not currently provide a way for customers to run the loading animation. If you'd like to request this as a new feature, it can be done by e-mailing support@profoundlogic.com

Alternately, you could write your own loading animation.