blockly > ToolboxItemNavigationPolicy > getPreviousSibling
ToolboxItemNavigationPolicy.getPreviousSibling() method
Returns the previous sibling of the given toolbox item.
Signature:
getPreviousSibling(current: IToolboxItem): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
current | The toolbox item to return the previous sibling of. |
Returns:
IFocusableNode | null
The previous toolbox item, or null.