Realtime toggle

Switch for toggling realtime. Includes an activity visual indicator.

Toggle .active class in a .c8y-pulse to display activity.

<button
  type="button"
  class="btn btn-link c8y-realtime ng-binding"
  title="Toggle realtime"
  data-ng-click="switchRealtime()"
  ng-show="!realtime"
>
  <span class="c8y-pulse active"></span>
  Realtime
</button>