Skip to main content

Home > 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

ParameterTypeDescription
draggedConnRenderedConnection
staticConnRenderedConnection

Returns:

void