Skip to main content

blockly > FlyoutNavigationPolicy > getPreviousSibling

FlyoutNavigationPolicy.getPreviousSibling() method

Returns the previous item in the flyout relative to the given item.

Signature:

getPreviousSibling(current: T): IFocusableNode | null;

Parameters

Parameter

Type

Description

current

T

The flyout item to navigate from.

Returns:

IFocusableNode | null

The flyout item preceding the given one.