Skip to main content

Home > blockly > ConnectionNavigationPolicy > getParent

ConnectionNavigationPolicy.getParent() method

Returns the parent of the given connection.

Signature:

getParent(current: RenderedConnection): IFocusableNode | null;

Parameters

ParameterTypeDescription
currentRenderedConnectionThe connection to return the parent of.

Returns:

IFocusableNode | null

The given connection's parent connection or block.