blockly > IConnectionPreviewer > previewConnection
IConnectionPreviewer.previewConnection() method
Display a connection preview where the draggedCon connects to the staticCon, and no block is being relaced.
Signature:
previewConnection(draggedConn: RenderedConnection, staticConn: RenderedConnection): void;
Parameters
Parameter | Type | Description |
---|---|---|
draggedConn | RenderedConnection | |
staticConn | RenderedConnection |
Returns:
void