Capítulo 228 de 411
Resynchronizes the Draggable's internal x/y with the target element's actual current position — needed if something outside Draggable moved/tweened the element directly.
| Parameter | Type | Description |
|---|---|---|
| applyBounds | Boolean (default false) | if true, also re-enforces bounds via applyBounds() (costs more processing) |
| sticky | Boolean | if true, coordinates update so the element "sticks" to the pointer — useful when reparenting |
Returns: the Draggable instance (chainable).
onUpdate can point at this method to keep Draggable synced throughout an external animation.