Skip to main content

Home > @jsplumbtoolkit/core > Selection > getNodeAt

Selection.getNodeAt() method

Gets the node at the given index.

Signature:

getNodeAt(idx: number): Node;

Parameters

ParameterTypeDescription
idxnumberIndex of the Node to retrieve. Will return null if index out of range.

Returns:

Node

A Node, or null.