Jump to content
GreenSock

DraggablePlugin

.maxRotation

.maxRotation : Number

When bounds are applied, maxRotation refers to the maximum "legal" rotation.

Details

Number - [only applies to type: "rotation"] When bounds are applied, maxRotation refers to the maximum “legal” rotation. This makes it easier to run your own custom logic inside the snap, liveSnap, or callback function(s) if you so choose.

Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×