Closed stulees closed 9 years ago
@donnapep I closed the other PR, revamped the fix, and initiated this new PR. I've tested in IU and it is working well. Please review, thanks.
@stulees Looks great! Thanks for your perseverance with this one! :+1:
@donnapep Was for the best, thanks for the push ;)
click
which isfalse
by default to allow for the scroll element to capture a click event or notclicked
to maintain if a click occurredcalculateProgress
being defined withininit
function and provide a reusablepauseTween
functionclick
event on theDraggable
instance and ensuring to pause the tween, flag a click occurred, and trigger a "scrollClick" event providing thepointerEvent
info from the Draggable instanceplay()
now checks if there was previously a click and if so, call calculate progresscalculateProgress
1.0.0
so releases can be initiated