Skip to main content

Home > @jsplumb/core > EndpointRepresentation

EndpointRepresentation class#

Superclass for all types of Endpoint. This class is renderer agnostic, as are any subclasses of it.

Signature:

export declare abstract class EndpointRepresentation<C> 

Constructors#

ConstructorModifiersDescription
(constructor)(endpoint, params)Constructs a new instance of the EndpointRepresentation class

Properties#

PropertyModifiersTypeDescription
boundsExtents
classesArray<string>
computedValueC
endpointEndpoint
hnumber
instanceJsPlumbInstance
typestring
typeIdstring
wnumber
xnumber
ynumber

Methods#

MethodModifiersDescription
addClass(c)
compute(anchorPoint, orientation, endpointStyle)
removeClass(c)
setVisible(v)