Closed daniel-mf closed 6 years ago
woww let me check at weekend, beautiful contribution! 💯
Be sure to check out example 3 with the new clicking helper.
@daniel-mf thanks for your contribution and sorry for the delay, I added some little validations before to merge to master 👍
Scrolling
startX
andstartY
are redefined when the threshold is reached, that gives an extra smooth scrolling start.clearMomementTimer
was defined to fix problems when doing a "scroll > hold still > release" movementAs seen in the example 3, clicking was very unpractical and buggy, so I implemented the method
addClickEvents
to help with the clicking.