Skip to main content

blockly > BubbleNavigationPolicy

BubbleNavigationPolicy class

Set of rules controlling keyboard navigation from a Bubble.

Signature:

export declare class BubbleNavigationPolicy implements INavigationPolicy<Bubble>

Implements: INavigationPolicy<Bubble>

Methods

Method

Modifiers

Description

getFirstChild(_current)

Returns the first child of the given bubble.

getNextSibling(current)

Returns the next peer node of the given bubble.

getParent(current)

Returns the parent of the given bubble.

getPreviousSibling(current)

Returns the previous peer node of the given bubble.

getRowId(current)

Returns the row ID of the given bubble.

isApplicable(current)

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

isNavigable(current)

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