
<ion-button  [ngClass]="pressed ?  'pressed-button' : 'normal-button' " (click)="onClicked()"
  expand="block" fill="clear" color="primary" >
  {{ title}}
  <ion-icon class="toggle-icon" color="medium" mode="md"  [name]="pressed ?  'arrow-dropup' : 'arrow-dropdown' " slot="end"></ion-icon>
</ion-button>