@niccoicco9 wrote:
hi, how i can change the background-color when i click on an ion-item?
my code:
<ion-item (click)="openDetail(variant)"> {{variant.ProductVariantName}} <ion-button slot="end" [hidden]="variant.ProductVariantValue.length==0" fill="clear" color="dark"> <i [class]="variant.showDetail ? 'fa fa-arrow-up fa-lg':'fa fa-arrow-down fa-lg'"></i> </ion-button> </ion-item>
Posts: 1
Participants: 1