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.
Loading Animation on Server Call
-
- New User
- Posts: 1
- Joined: Sun Mar 01, 2020 11:17 pm
- First Name: Mukunda
- Last Name: Acharya
- Company Name: UPMC
- Phone: 2403885852
- State / Province: Pennsylvania
- Zip / Postal Code: 15227
- Country: United States
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Loading Animation on Server Call
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.
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.
Who is online
Users browsing this forum: Google [Bot] and 0 guests