blockly > WorkspaceNavigationPolicy
WorkspaceNavigationPolicy class
Set of rules controlling keyboard navigation from a workspace.
Signature:
export declare class WorkspaceNavigationPolicy implements INavigationPolicy<WorkspaceSvg>
Implements: INavigationPolicy<WorkspaceSvg>
Methods
Method | Modifiers | Description |
---|---|---|
getFirstChild(current) | Returns the first child of the given workspace. | |
getNextSibling(_current) | Returns the next sibling of the given workspace. | |
getParent(_current) | Returns the parent of the given workspace. | |
getPreviousSibling(_current) | Returns the previous sibling of the given workspace. | |
isApplicable(current) | Returns whether the given object can be navigated from by this policy. | |
isNavigable(current) | Returns whether or not the given workspace can be navigated to. |