Skip to main content

blockly > CommentBarButtonNavigationPolicy > getNextSibling

CommentBarButtonNavigationPolicy.getNextSibling() method

Returns the next peer node of the given CommentBarButton.

Signature:

getNextSibling(current: CommentBarButton): IFocusableNode | null;

Parameters

Parameter

Type

Description

current

CommentBarButton

The CommentBarButton to find the following element of.

Returns:

IFocusableNode | null

The next CommentBarButton, if any.