Skip to main content

blockly > CommentBarButtonNavigationPolicy

CommentBarButtonNavigationPolicy class

Set of rules controlling keyboard navigation from a CommentBarButton.

Signature:

export declare class CommentBarButtonNavigationPolicy implements INavigationPolicy<CommentBarButton>

Implements: INavigationPolicy<CommentBarButton>

Methods

Method

Modifiers

Description

getFirstChild(_current)

Returns the first child of the given CommentBarButton.

getNextSibling(current)

Returns the next peer node of the given CommentBarButton.

getParent(current)

Returns the parent of the given CommentBarButton.

getPreviousSibling(current)

Returns the previous peer node of the given CommentBarButton.

getRowId(current)

Returns the row ID of the given CommentBarButton.

isApplicable(current)

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

isNavigable(current)

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