JS Loading Indicator
In your JS File, import ElementLoadingIndicatorUtil. When you start typing import ElementLoadingIn..., PHPStorm should give you the correct path as a suggestion.
Then, to add an Indicator:
ElementLoadingIndicatorUtil.create(<HTMLELEMENT>);
<HTMLELEMENT> is here - of course - the HtmlElement you want to add this to.
To close it, call:
ElementLoadingIndicatorUtil.remove(<HTMLELEMENT>);
That's it!