Jump to content
GreenSock

Draggable

Draggable()

.Draggable( target:Object, vars:Object ) ;

Contstructor

Parameters

target: Object

The object that will be dragged.

Show More

vars: Object

(default = null)

Details

Constructor. Typically it's best to use Draggable.create() instead of the constructor because it can accommodate multiple elements with one call.

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