I have Lightning components and I cannot use <lightning:spinner>
, because it overlays on the whole page and I would like to display spinner in certain place.
That's why I have written following in my component's CSS:
.THIS .picklist-spinner-img {
...
background-image: url("/resource/LightningDesignSystem/assets/images/spinners/slds_spinner_brand.gif");
...
}
The problem is this is the only place I need to use SLDS static resource. Everywhere else in the system I use either force:slds
or apex:slds
to include the freshest version of the SLDS. Any ideas how to get rid of static resource but keep my spinner image in place?