You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemmionic5/Mohem/src/app/hmg-common/ui/toggle-button/toggle-button.component.html

6 lines
305 B
HTML

<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>