Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I suspend iScroll functionality?

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?

like image 497
fancy Avatar asked Oct 28 '11 01:10

fancy


1 Answers

myScroll.disable()

Then on touchend

myScroll.enable()

:)

like image 110
fancy Avatar answered Oct 19 '22 11:10

fancy