Home > blockly > ConnectionNavigationPolicy > getPreviousSibling
ConnectionNavigationPolicy.getPreviousSibling() method
Returns the element preceding the given connection.
Signature:
getPreviousSibling(current: RenderedConnection): IFocusableNode | null;
Parameters
| Parameter | Type | Description |
|---|---|---|
| current | RenderedConnection | The connection to navigate from. |
Returns:
IFocusableNode | null
The field, input connection or block preceding this connection.