Jump to content
GreenSock

Draggable

.minY

.minY : Number

[read-only] When bounds are applied, minY refers to the minimum "legal" value of the vertical property (either "y" or "top", depending on which type the Draggable is).

Details

When bounds are applied, minY refers to the minimum "legal" value of the vertical property (either "y" or "top", depending on which type the Draggable is). This makes it easier to run your own custom logic inside the snap or callback function(s) if you so choose. So for a Draggable oftype:"x,y"minY would correlate with y transform translation, as in the css transform:translateY(...). For type:"top,left", the Draggable'sminY would correlate with the css "top" value that's applied. This is not the global coordinate - it is the inline css-related value applied to the element.
Implementation
    public function get minY():Number

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.
×