blockly > Navigator > getNextNode
Navigator.getNextNode() method
Returns next node relative to the given node.
Signature:
getNextNode(node?: IFocusableNode | null): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
node | IFocusableNode | null | (Optional) The node to navigate relative to, defaults to the currently focused node. |
Returns:
IFocusableNode | null
The next node, generally on the "row" visually below the specified node, or null if there is none.