Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > getPort

JsPlumbToolkit.getPort() method

Gets a port by its full id

Signature:

getPort(portId: string): Port;

Parameters

ParameterTypeDescription
portIdstringID of the Port to retrieve, in nodeId.portId syntax.

Returns:

Port

The requested port, if found, otherwise null.