blockly > FieldNavigationPolicy > getNextSibling

FieldNavigationPolicy.getNextSibling() method

Returns the next field or input following the given field.

Signature:

getNextSibling(current: Field<any>): IFocusableNode | null;

Parameters

Parameter Type Description
current Field<any> The field to navigate from.

Returns:

IFocusableNode | null

The next field or input in the given field's block.