ic-indicator - The Global Indicator Attribute


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.


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.


  <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>
    Global Indicator: <i id="indicator" class="fa fa-spinner fa-spin" style="display:none"></i>

Global Indicator: