🔰"dblclick"
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
browser ⟩ event ⟩ type ⟩ mouse ⟩ "dblclick"
If two clicks happen close together, a "dblclick" (double-click) event also fires, after the second "click" event, that is:
mousedown -> mouseup -> click ->
mousedown -> mouseup -> click ->
dblclick
replit ⟩ mouse "click" event
// general handler
const logTarget = (event, type) => {
const len = 'mousedown'.length;
const t = event.target;
log