Can I suspend iScroll functionality?
Asked Answered
C

1

11

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?

Ceramist answered 28/10, 2011 at 1:29 Comment(0)
C
30
myScroll.disable()

Then on touchend

myScroll.enable()

:)

Ceramist answered 28/10, 2011 at 9:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.