Spinner in header bar


#1

Hello everyone,

I have a question. I want to have a spinner in my header that replaces my ion-checkmark button when save() is fired. When ionic used to have spinning fonts it was very easy. Now I have no idea how to do that. Any ideas how the template should look like?

My current template:

<ion-view>
          <ion-nav-title>
          	{{trigger.label}}
          </ion-nav-title>
          <ion-nav-buttons side="right">
            <button class="button-icon icon ion-checkmark" ng-click="save()"></button>
          </ion-nav-buttons>
          <ion-content>
                 .....
          </ion-content>
    </ion-view>

#2

Hi @Janson,
I think you can use ion-spinner for that:
http://ionicframework.com/docs/api/directive/ionSpinner/