call event when lost focus ionic code example
Example: ionic button active on click
<button class="post-button" [ngClass]="{'activated' : buttonActive}"ion-button outline small icon-left">
<button class="post-button" [ngClass]="{'activated' : buttonActive}"ion-button outline small icon-left">