blockly > INavigationPolicy > getNextSibling
INavigationPolicy.getNextSibling() method
Returns the peer element following the given element, if any.
Signature:
getNextSibling(current: T): IFocusableNode | null;
Parameters
Parameter | Type | Description |
---|---|---|
current | T | The element which the user is navigating past. |
Returns:
IFocusableNode | null
The next peer element of the current element, or null if there is none.