pencil.js / draggable / DraggableAPI
Interface: DraggableAPI
Defined in: draggable.ts:22
Control over a draggable component
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
constrain | | VectorDefinition | null | Change the "constrain" value in the draggable's options | draggable.ts:28 |
stop | () => void | Stop the component from being draggable | draggable.ts:30 |
x | boolean | Change the "x" value in the draggable's options | draggable.ts:24 |
y | boolean | Change the "y" value in the draggable's options | draggable.ts:26 |
