PixelsCommander / Propeller

JavaScript library to rotate elements with mouse or touch gestures. Supports inertia and stepwise rotation. Optimized for better performance.
http://pixelscommander.com/polygon/propeller/
409 stars 58 forks source link

i want to rotate a element on button click #32

Open techashish12 opened 7 years ago

techashish12 commented 7 years ago

i have set this property var pr = new Propeller(document.getElementById('pro'), { inertia: .996, speed:0 }); now i want to rotate this elemnt only on button click currently this is also work when i swipe the object. but i want only do this this when click on button with same property