Skip to content
A Dynamic Action Plug-in that replaces the default APEX spinner with your custom HTML/ CSS
SQLPL JavaScript TSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
plugin
src fixed issue on modal page Jun 18, 2019
.gitignore
LICENSE
README.md
apexplugin.json

README.md

APEX Utils - Change Spinner

Demo: https://www.apexutils.com

About

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.

Attributes

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.

Under the hood

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.

Changelog

v1.1 fixed issue on modal page

v1.0 initial release

License

MIT

You can’t perform that action at this time.