i am using (tap) and (press) event.but when I was tap after few second press automatically call. can you please help me how to resolve this issue.
and this issue arises only in a device, not in the browser.
Thanks in advance!!!
i am using (tap) and (press) event.but when I was tap after few second press automatically call. can you please help me how to resolve this issue.
and this issue arises only in a device, not in the browser.
Thanks in advance!!!
Is the press event self-defined?
yes, it was ionic framework default event.
see here is my code :
<ion-card [ngClass]="{‘bg’: item.is_read==0}" *ngIf=“item.is_read != 2” (tap)=“click(…)” (press)=“selectrecord(…)” >
Maybe this will help