blockly > WorkspaceCommentNavigationPolicy > getFirstChild
WorkspaceCommentNavigationPolicy.getFirstChild() method
Returns the first child of the given workspace comment.
Signature:
getFirstChild(current: RenderedWorkspaceComment): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
current | The workspace comment to return the first child of. |
Returns:
IFocusableNode | null
The first child button of the given comment.