Skip to main content

Home > blockly > WorkspaceNavigationPolicy > getPreviousSibling

WorkspaceNavigationPolicy.getPreviousSibling() method

Returns the previous sibling of the given workspace.

Signature:

getPreviousSibling(_current: WorkspaceSvg): IFocusableNode | null;

Parameters

ParameterTypeDescription
_currentWorkspaceSvgThe workspace to return the previous sibling of.

Returns:

IFocusableNode | null

Null.