ic-indicator - The Global Indicator Attribute

Summary

The global indicator attribute can be used to show an indicator while a request is in process. This indicator will be shown in addition to any local request indicators otherwise specified.

Syntax

The value of the attribute should be a valid selector of the indicator element to show, or false if you wish for an element to not show a global indicator specified on a parent element.

Example

  <div ic-global-indicator="#indicator">
    <button ic-post-to="/target_url" >
      Click Me!
      <i class="fa fa-spinner fa-spin ic-indicator" style="display:none"></i>
    </button>
    <br/>
    Global Indicator: <i id="indicator" class="fa fa-spinner fa-spin" style="display:none"></i>
  </div>

Global Indicator: