blockly > ConnectionNavigationPolicy > getFirstChild

ConnectionNavigationPolicy.getFirstChild() method

Returns the first child of the given connection.

Signature:

getFirstChild(current: RenderedConnection): IFocusableNode | null;

Parameters

Parameter Type Description
current RenderedConnection The connection to return the first child of.

Returns:

IFocusableNode | null

The connection's first child element, or null if not none.