By adding the .is-loading class to an element a spinning loader will be displayed on top of the element.
It’s advised to always apply this class when loading new content through the use of JavaScript and removing it after the new data has been set.
<div class="is-loading"></div>
<div class="is-loading"></div>
/* No context defined for this component. */