Can I suspend iScroll functionality?

fancy picture fancy · Oct 28, 2011 · Viewed 10.5k times · Source

I want to disable the scroll sometimes so I can do multi-touch events in the same area, something like...

if event.originalEvent.touches.length is 2 then myScroll.disable()

Is something like this possible?

Answer

fancy picture fancy · Oct 28, 2011
myScroll.disable()

Then on touchend

myScroll.enable()

:)