Skip to main content

Home > @jsplumb/core > EndpointFactory

EndpointFactory variable#

Signature:

EndpointFactory: {    get: (ep: Endpoint<any>, name: string, params: any) => EndpointRepresentation<any>;    clone: <C>(epr: EndpointRepresentation<C>) => EndpointRepresentation<C>;    compute: <T>(endpoint: EndpointRepresentation<T>, anchorPoint: AnchorPlacement, orientation: [import("./anchor-record-factory").AnchorOrientationHint, import("./anchor-record-factory").AnchorOrientationHint], endpointStyle: any) => T;    registerHandler: <E, T>(eph: EndpointHandler<E, T>) => void;}