These are chat archives for taye/interact.js

13th
Jul 2015
bryanjamesinteractive
@bryanjamesinteractive
Jul 13 2015 17:39

Hey guys, quick question.

I have a drag handler using interact.js which successfully fires an event upon dropping after a certain amount has been dragged, using:

onend: function (event) {

I wondered if it's possible to force this upon reaching a certain parameter, in essence completely intersecting the dragging continuing and essentially breaking the connection of the click and hold? So that the user doesn't actually have to drop. Getting the event to fire is no problem, but making it so that the dragging is stopped is proving troublesome.

bryanjamesinteractive
@bryanjamesinteractive
Jul 13 2015 18:05
Apologies, never mind actually – found a workaround! :)