Home > blockly > WorkspaceNavigationPolicy > getParent
WorkspaceNavigationPolicy.getParent() method
Returns the parent of the given workspace.
Signature:
getParent(_current: WorkspaceSvg): IFocusableNode | null;
Parameters
| Parameter | Type | Description |
|---|---|---|
| _current | WorkspaceSvg | The workspace to return the parent of. |
Returns:
IFocusableNode | null
Null.