blockly > CommentBarButtonNavigationPolicy > getParent
CommentBarButtonNavigationPolicy.getParent() method
Returns the parent of the given CommentBarButton.
Signature:
getParent(current: CommentBarButton): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
current | The CommentBarButton to return the parent of. |
Returns:
IFocusableNode | null
The parent comment of the given CommentBarButton.