Skip to main content

Home > blockly > Navigator > getPreviousSibling

Returns the previous sibling of the given object instance, if any.

Signature:

getPreviousSibling(current: IFocusableNode): IFocusableNode | null;

Parameters

ParameterTypeDescription
currentIFocusableNodeThe object to retrieve the previous sibling node of.

Returns:

IFocusableNode | null

The previous sibling node of the given object, if any.