blockly > ConnectionNavigationPolicy
ConnectionNavigationPolicy class
Set of rules controlling keyboard navigation from a connection.
Signature:
export declare class ConnectionNavigationPolicy implements INavigationPolicy<RenderedConnection>
Implements: INavigationPolicy<RenderedConnection>
Methods
Method | Modifiers | Description |
|---|---|---|
Returns the first child of the given connection. | ||
Returns the next element following the given connection. | ||
Returns the parent of the given connection. | ||
| Gets the parent connection on a block. This is either an output connection, previous connection or undefined. If both connections exist return the one that is actually connected to another block. | |
Returns the element preceding the given connection. | ||
Returns whether the given object can be navigated from by this policy. | ||
Returns whether or not the given connection can be navigated to. |