Skip to main content

blockly > CommentBarButtonNavigationPolicy > getFirstChild

CommentBarButtonNavigationPolicy.getFirstChild() method

Returns the first child of the given CommentBarButton.

Signature:

getFirstChild(_current: CommentBarButton): IFocusableNode | null;

Parameters

Parameter

Type

Description

_current

CommentBarButton

The CommentBarButton to return the first child of.

Returns:

IFocusableNode | null

Null.