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