--- layout: default nav: attributes > ic-indicator ---
ic-indicator - The Indicator AttributeThe indicator attribute can be used to show an indicator while a request is in process.
The value of the attribute should be a valid selector of the indicator element to show
You can also use the ic-indicator CSS class on elements within an element
to specify an indicator.
This attribute may be placed on parent elements, allowing you to specify behavior across multiple elements.
Here is a simple example of an indicator next to a button:
<button ic-post-to="/target_url" ic-indicator="#indicator">
Click Me!
</button>
<i id="indicator" class="fa fa-spinner fa-spin" style="display:none"></i>