Dynamic set button type

This way I can dynamically set the button icon based on event.rsvp_status value:

<button item-right clear small [ngSwitch]="event.rsvp_status">
  <ion-icon name="checkmark" *ngSwitchCase="'attending'"></ion-icon>
  <ion-icon name="star" *ngSwitchCase="'unsure'"></ion-icon>
  <ion-icon name="close" *ngSwitchCase="'declined'"></ion-icon>
  <ion-icon name="arrow-dropdown" ngSwitchDefault></ion-icon>

But I also want to change the button type (secondary, danger, etc) based on event.rsvp_status value. What would be the best approach for it? Is there a way to do it using the already set [ngSwitch] attribute? Maybe through SASS…

You could use NgClass or NgStyle.