wire.css
file is required to use this function. Be sure this is included in your page reference. Visit your theme's documentation for details however this file is usually in the lib\wire
folder in most themes installations.wire.ui.spinner
class.on
method to turn on a spinner. The following example will turn the entire page opaque and load a medium sized spinner. id
of the element.3
which is the medium size. Use the second constructor parameter for configuration.size
to 1
. This would be a more appropriate size to put over a button. size[N]
property on the confirmation parameter to a CSS icon class(s) as seen below.fa-circle-o-notch
icon from Font Awesome 4. If the spinner icon is not being changed as part of the configuration, be sure this file is included in your page reference. The file can be hosted or download from https://www.bootstrapcdn.com/fontawesome.extra
property on the css
configuration object. off
method to turn off an existing spinner.