Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > getPortType

JsPlumbToolkit.getPortType() method#

Gets the type of the Port represented by the given JS object

Signature:

getPortType(port: ObjectData): string;

Parameters#

ParameterTypeDescription
portObjectData

Returns:

string

Either the port's type, if set, or "default".