blockly > blockRendering > PathObject > updateShapeForInputHighlight
blockRendering.PathObject.updateShapeForInputHighlight() method
Add or remove styling that shows that if the dragging block is dropped, this block will be connected to the input.
Signature:
updateShapeForInputHighlight(_conn: Connection, _enable: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
_conn | Connection | The connection on the input to highlight. |
_enable | boolean | True if styling should be added. |
Returns:
void