The MouseEvent object handed to the occasion handler for click has its element residence set to the amount of times the focus on was clicked. Quite simply, detail are going to be 2 to get a double-click, 3 for triple-click, and so on. This counter resets right after a short https://click90232.jts-blog.com/19744605/click-an-overview