blockly > Navigator > getFirstChild
Navigator.getFirstChild() method
Returns the first child of the given object instance, if any.
Signature:
getFirstChild(current: IFocusableNode): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
current | The object to retrieve the first child of. |
Returns:
IFocusableNode | null
The first child node of the given object, if any.