Skip to main content

Home > blockly > ConnectionNavigationPolicy > getPreviousSibling

ConnectionNavigationPolicy.getPreviousSibling() method

Returns the element preceding the given connection.

Signature:

getPreviousSibling(current: RenderedConnection): IFocusableNode | null;

Parameters

ParameterTypeDescription
currentRenderedConnectionThe connection to navigate from.

Returns:

IFocusableNode | null

The field, input connection or block preceding this connection.