swipe event on scrollview element

swipe event on scrollview element

BY 05 Feb 2014 Web Application Development

Hello.

How to detect swipe event on zoomed out scrollview element?

For example, swipe on #my-element div:

<div class="ui-scrollview-clip" id="my-element" data-scroll="xy" style="width: 300px; height: 600px;">
    <div class="ui-scrollview-view" style="width: 300px; height: 600px; -webkit-transform: translate3d(0px, 0px, 0px); -webkit-transition: none; ">
		<img src="file:///opt/usr/media/Downloads/image100.jpg" style="width: 300px; height: 200px;">
	</div>
</div>

 

Written by