How to change the loading template globally - Community forums - Akumina Community

Community forums

Forum Navigation
You need to log in to create posts and topics.

How to change the loading template globally

We had a question come up about how to change the loading template globally. You can do this easy:

 

1 - Disable the existing get loading. In your env.js or in the digispace IDS list, set the following constant to false:

LOADER_STEPS_ENABLE_GETLOADINGTEMPLATE

2 - Change the loading HTML. In your env.js or other JS file, set the LoadingTemplateHtml variable:

Akumina.Digispace.ConfigurationContext.LoadingTemplateHtml = "<div class="newloading">loading the widget</div>";

 

this is very helpful, thank you!

//]]>