How to prevent double click in Angular?

前端 未结 5 1813
南旧
南旧 2020-12-24 02:49

I have a component with click.


When I click this element, openModa

5条回答
  •  没有蜡笔的小新
    2020-12-24 03:40

    In my case throttleTime instead of debounce was better solution(fire event immediately and block until some time passed)

提交回复
热议问题