blockly > zelos > Renderer > getConnectionPreviewMethod

zelos.Renderer.getConnectionPreviewMethod() method

v10 - This function is no longer respected. A custom IConnectionPreviewer may be able to fulfill the functionality.

Signature:

getConnectionPreviewMethod(closest: RenderedConnection, local: RenderedConnection, topBlock: BlockSvg): InsertionMarkerManager.PREVIEW_TYPE;

Parameters

Parameter Type Description
closest RenderedConnection
local RenderedConnection
topBlock BlockSvg

Returns:

InsertionMarkerManager.PREVIEW_TYPE