How to handle "single click" and "double click" on the same html DOM element using...

Discussão em 'Angular' iniciado por Durgaachandrakala.E, Março 28, 2025.

  1. My issue is, the methods used for both the events is getting triggered when I perform "double click"

    For example, I need to perform specific functionality when specific event is triggered.

    <a (click)="method1()" (dblclick)="method2()">



    Both method1() and method2() are getting triggered when I perform "double click".

    Continue reading...

Compartilhe esta Página