Type Definitions
DraggableAPI
Type:
Properties- Object
Name | Type | Description |
---|---|---|
x | function | Change the "x" value in the draggable's options |
y | function | Change the "y" value in the draggable's options |
constrain | function | Change the "constrain" value in the draggable's options |
stop | function | Stop the component from being draggable |
DraggableOptions
Type:
Properties- Object
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
x | Boolean | <optional> | true | Can move along vertical axis |
y | Boolean | <optional> | true | Can move along horizontal axis |
constrain | Vector | <optional> | Relative limit of freedom |