Home > blockly > FieldNavigationPolicy > getPreviousSibling
FieldNavigationPolicy.getPreviousSibling() method
Returns the field or input preceding the given field.
Signature:
getPreviousSibling(current: Field<any>): IFocusableNode | null;
Parameters
| Parameter | Type | Description |
|---|---|---|
| current | Field<any> | The field to navigate from. |
Returns:
IFocusableNode | null
The preceding field or input in the given field's block.