blockly > ConnectionNavigationPolicy > getParent

ConnectionNavigationPolicy.getParent() method

Returns the parent of the given connection.

Signature:

getParent(current: RenderedConnection): IFocusableNode | null;

Parameters

Parameter Type Description
current RenderedConnection The connection to return the parent of.

Returns:

IFocusableNode | null

The given connection's parent connection or block.