new Drag(configopt)
A behavior that makes an object draggable along a plane.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
config |
Object |
<optional> |
Specify the axes along which the object can be
dragged.
E.g. To constraint th object to an XY plane: |