Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229838

Ion-fab-button ionBlur and ionFocus don't work properly

$
0
0

@kapadia552 Hello, I just want to share with you that I simply solved this problem by using the (click) method instead like this:

 <ion-fab-button (click)="toggle()">
  <ion-icon name="add"></ion-icon>
</ion-fab-button>

And in the typescript file I just did this:

toggle() {
  this.fabState = !this.fabState;
}

That way I am now toggling the background fade using animations.


Viewing all articles
Browse latest Browse all 229838

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>