Capítulo 225 de 411
Returns the seconds elapsed since the last drag ended — both a static method (any recent drag globally) and an instance method (that specific Draggable).
element.addEventListener("click", (e) => {
if (Draggable.timeSinceDrag() > 0.2) {
// treat as a genuine click, not the tail end of a drag
}
});
dragClickables: true.