Demo: https://www.apexutils.com
Use this simple dynamic action Plug-in to replace the default APEX spinner shown while a report refreshes, on page submission, or wherever apex.util.showSpinner
is called.
You should run this DA on page load. Every spinner shown from then on will use the new markup.
Attribute# | Name | Type |
---|---|---|
1 | Spinner HTML | HTML |
2 | Spinner CSS | Textarea |
Chances are you won't design the spinner yourself, so here are some great resources for free, awesome looking spinners. They are already split into HTML and CSS so all you have to do is copy/paste.
Unfortunately the default markup for the spinner is hardcoded in the apex.util.showSpinner
function as opposed to it being passed down by the caller. I found the best way to change it is to override the function completely, this time using the custom HTML. The CSS is simply appended to the document.
v1.2 fixed spinnerClass + help text
v1.1 fixed issue on modal page
v1.0 initial release
MIT