Skip to main content

blockly > Navigator > getPreviousSibling

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.