blockly > IconNavigationPolicy > getPreviousSibling
IconNavigationPolicy.getPreviousSibling() method
Returns the previous peer node of the given icon.
Signature:
getPreviousSibling(current: Icon): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
current | The icon to find the preceding element of. |
Returns:
IFocusableNode | null
The icon's previous icon, if any.