blockly > WorkspaceNavigationPolicy > isNavigable
WorkspaceNavigationPolicy.isNavigable() method
Returns whether or not the given workspace can be navigated to.
Signature:
isNavigable(current: WorkspaceSvg): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
current | WorkspaceSvg | The instance to check for navigability. |
Returns:
boolean
True if the given workspace can be focused.