blockly > bumpObjects > bumpIntoBoundsHandler
bumpObjects.bumpIntoBoundsHandler() function
Creates a handler for bumping objects when they cross fixed bounds.
Signature:
export declare function bumpIntoBoundsHandler(workspace: WorkspaceSvg): (p1: Abstract) => void;
Parameters
Parameter | Type | Description |
---|---|---|
workspace | WorkspaceSvg | The workspace to handle. |
Returns:
(p1: Abstract) => void
The event handler.