blockly > dragging > Dragger > shouldReturnToStart
dragging.Dragger.shouldReturnToStart() method
Returns true if we should return the draggable to its original location at the end of the drag.
Signature:
protected shouldReturnToStart(coordinate: Coordinate, rootDraggable: IDraggable): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
coordinate | ||
rootDraggable |
Returns:
boolean