Skip to main content

Home > blockly > INavigationPolicy > getNextSibling

INavigationPolicy.getNextSibling() method

Returns the peer element following the given element, if any.

Signature:

getNextSibling(current: T): IFocusableNode | null;

Parameters

ParameterTypeDescription
currentTThe element which the user is navigating past.

Returns:

IFocusableNode | null

The next peer element of the current element, or null if there is none.