how to capture double click and hold event in angular/typescript?

Discussão em 'Angular' iniciado por Aneesh Gupta, Abril 28, 2025.

  1. Aneesh Gupta

    Aneesh Gupta Guest

    I am trying to create random shaped polygons inside svg. I want to implement the functionality to drag the polygons within the svg. To do this, I want to capture double click and hold event, similar to how we drag icons on windows desktop etc. I tried with mousedown and mousemove event, but for the second click (before hold), mousedown is not captured.

    Any suggestions on how I can achieve this ?

    Continue reading...

Compartilhe esta Página