blockly > ConnectionNavigationPolicy > getNextSibling

ConnectionNavigationPolicy.getNextSibling() method

Returns the next element following the given connection.

Signature:

getNextSibling(current: RenderedConnection): IFocusableNode | null;

Parameters

Parameter Type Description
current RenderedConnection The connection to navigate from.

Returns:

IFocusableNode | null

The field, input connection or block following this connection.