I would like to add a swipe gesture for Trickle (without removing the button).
Is there anything in the Adapt API that I can use like swipe events?
How can I add a listener into the block from Trickle?
I would like to add a swipe gesture for Trickle (without removing the button).
Is there anything in the Adapt API that I can use like swipe events?
How can I add a listener into the block from Trickle?
jquery.mobile swipe events are available inside Adapt. jquery.mobile swipe example > https://github.com/cgkineo/adapt-narrative/blob/master/js/view.js#L19-L23
The click event handler for trickle lives here > https://github.com/adaptlearning/adapt-contrib-trickle/blob/master/js/handlers/buttonView.js#L274
Thanks! I've got something working now. I have used this jquery plugin for swipe down/up :
https://github.com/loudoweb/jquerymobile-swipeupdown/blob/master/lib/jquerymobile-swipeupdown.js