ElementDraggerOptions
Options for an ElementDragger
Properties
constrain?
optionalconstrain:ConstrainFunction<BrowserElement,MouseEvent>
Function to constrain movement of the elements.
containment?
optionalcontainment:ContainmentType
Shortcut for some basic constrain scenarios - constrain to parent, constrain entirely to parent, dont allow movement into negative axes.
containmentPadding?
optionalcontainmentPadding:number
If containment is set, you can provide a value for padding here. Currently the default is 5 pixels.
filter?
optionalfilter:string
CSS3 filter identifying parts of the elements that should not allow drag