Skip to main content

blockly > ToolboxItemNavigationPolicy > getNextSibling

ToolboxItemNavigationPolicy.getNextSibling() method

Returns the next sibling of the given toolbox item.

Signature:

getNextSibling(current: IToolboxItem): IFocusableNode | null;

Parameters

Parameter

Type

Description

current

IToolboxItem

The toolbox item to return the next sibling of.

Returns:

IFocusableNode | null

The next toolbox item, or null.