Home > @jsplumbtoolkit/core > JsPlumbToolkit > getPort
JsPlumbToolkit.getPort() method
Gets a port by its full id
Signature:
getPort(portId: string): Port;
Parameters
| Parameter | Type | Description |
|---|---|---|
| portId | string | ID of the Port to retrieve, in nodeId.portId syntax. |
Returns:
The requested port, if found, otherwise null.