Skip to main content

blockly > CommentEditorNavigationPolicy

CommentEditorNavigationPolicy class

Set of rules controlling keyboard navigation from a comment editor. This is a no-op placeholder (other than isNavigable/isApplicable) since comment editors handle their own navigation when editing ends.

Signature:

export declare class CommentEditorNavigationPolicy implements INavigationPolicy<CommentEditor>

Implements: INavigationPolicy<CommentEditor>

Methods

Method

Modifiers

Description

getFirstChild(_current)

getNextSibling(_current)

getParent(_current)

getPreviousSibling(_current)

getRowId(current)

Returns the row ID of the given comment editor.

isApplicable(current)

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

isNavigable(current)

Returns whether or not the given comment editor can be navigated to.