Home > blockly > Navigator > getPreviousSibling
Navigator.getPreviousSibling() method
Returns the previous sibling of the given object instance, if any.
Signature:
getPreviousSibling(current: IFocusableNode): IFocusableNode | null;
Parameters
| Parameter | Type | Description |
|---|---|---|
| current | IFocusableNode | The object to retrieve the previous sibling node of. |
Returns:
IFocusableNode | null
The previous sibling node of the given object, if any.