blockly > CommentBarButtonNavigationPolicy > getPreviousSibling
CommentBarButtonNavigationPolicy.getPreviousSibling() method
Returns the previous peer node of the given CommentBarButton.
Signature:
getPreviousSibling(current: CommentBarButton): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
current | The CommentBarButton to find the preceding element of. |
Returns:
IFocusableNode | null
The CommentBarButton's previous CommentBarButton, if any.