My current solution involves highlighting text in a small slider after a user tap, but it feels very makeshift.
<ion-slide *ngFor="let loopValue of values">
<div *ngIf="viewValue == loopValue">
<b>
{{loopValue}}
</b>
</div>
<div *ngIf="viewValue != loopValue">
{{loopValue}}
</div>
</ion-slide>
In this code snippet, I highlight the selection by making the slide content bold. However, I would prefer to use Ionic's predefined primary or secondary colors to highlight the user tap. How can I achieve this?