The click event to possible debounce.
An instance of DebounceContext, persisted between debounce calls for the same element.
The time between click to consider a double click in
milliseconds. Defaults to 1000
.
true
if the click should be debounced, otherwise false
.
Creates a new instance of DebounceContext.
Generated using TypeDoc
A function used to debounce clicks occuring close together (that is, double clicks) if the attribute
data-prevent-double-click
is set to"true"
.If debouncing is appropriate, this function calls
event.preventDefault()
automatically.