Skip to main content

blockly > IconNavigationPolicy

IconNavigationPolicy class

Set of rules controlling keyboard navigation from an icon.

Signature:

export declare class IconNavigationPolicy implements INavigationPolicy<Icon>

Implements: INavigationPolicy<Icon>

Methods

Method

Modifiers

Description

getFirstChild(_current)

Returns the first child of the given icon.

getNextSibling(current)

Returns the next peer node of the given icon.

getParent(current)

Returns the parent of the given icon.

getPreviousSibling(current)

Returns the previous peer node of the given icon.

getRowId(current)

Returns the row ID of the given icon.

isApplicable(current)

Returns whether the given object can be navigated from by this policy.

isNavigable(current)

Returns whether or not the given icon can be navigated to.