blockly > WorkspaceNavigationPolicy > getPreviousSibling

WorkspaceNavigationPolicy.getPreviousSibling() method

Returns the previous sibling of the given workspace.

Signature:

getPreviousSibling(_current: WorkspaceSvg): IFocusableNode | null;

Parameters

Parameter Type Description
_current WorkspaceSvg The workspace to return the previous sibling of.

Returns:

IFocusableNode | null

Null.