jQuery UI resizable pinch
Asked Answered
D

2

6

Is it possible to add touch pinch support to jQuery UI's resizable? So on an iPad, you wouldn't need to use the specified handles to resize, but you could just use two fingers and pinch on the element to resize.

Diluvium answered 24/5, 2013 at 16:20 Comment(1)
Please have a look at Hammer.js its a js library for multi-touch gestures, so that should help :) And yes it will work on IOS.Booby
B
1

jQuery UI Touch Punch is exactly what you're looking for. It adds touch event support for jQuery UI and is tested on a variety of platforms including iPad, iPhone, Android and other touch-enabled mobile devices.

Brooking answered 2/3, 2017 at 7:30 Comment(0)
H
0

Yeah, I would check for another library that does this already. In theory, you could extend jQuery UI or add on additional events to the elements with jQuery. If you decided to delve into that madness I'd suggest adding on your own events with a library like Touchy:

http://touchyjs.org/

Hokum answered 17/9, 2013 at 3:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.