Skip to main content

blockly > BubbleNavigationPolicy > getPreviousSibling

BubbleNavigationPolicy.getPreviousSibling() method

Returns the previous peer node of the given bubble.

Signature:

getPreviousSibling(current: Bubble): IFocusableNode | null;

Parameters

Parameter

Type

Description

current

Bubble

The bubble to find the preceding element of.

Returns:

IFocusableNode | null

The previous navigable item on the bubble's icon's parent block.