Skip to main content

blockly > CommentBarButtonNavigationPolicy > getParent

CommentBarButtonNavigationPolicy.getParent() method

Returns the parent of the given CommentBarButton.

Signature:

getParent(current: CommentBarButton): IFocusableNode | null;

Parameters

Parameter

Type

Description

current

CommentBarButton

The CommentBarButton to return the parent of.

Returns:

IFocusableNode | null

The parent comment of the given CommentBarButton.