Skip to main content

Home > blockly > ConnectionNavigationPolicy > getFirstChild

ConnectionNavigationPolicy.getFirstChild() method

Returns the first child of the given connection.

Signature:

getFirstChild(current: RenderedConnection): IFocusableNode | null;

Parameters

ParameterTypeDescription
currentRenderedConnectionThe connection to return the first child of.

Returns:

IFocusableNode | null

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