ZIM 5.4.0 has launched featuring zim.gesture() for multitouch gestures of pan (position), pinch (scale) and rotate (rotation) on touch screen devices and screens. See an example and read the code here: http://zimjs.com/gesture/
Also see the Bubbling Video that demonstrates the following code:
var rect = new zim.Rectangle(300, 300, frame.blue) .centerReg(stage) .gesture({ slide:true, rect:new createjs.Rectangle(0,0,stageW,stageH), minScale:.5, maxScale:2, snapRotate:2 });
Try it out for your next app on Android or iOS, etc.
All the best,
ZIM
http://zimjs.com
I want to integrate this in react app. But pan, zoom , pinch etc not working.
LikeLike
Are other ZIM functions working in your react app? Hey… sorry for the delay… we just got this message. Please join us at https://zimjs.com/slack and we can discuss further. Looking forward to seeing you there.
LikeLike