I use jsPlumb library and I run into problem: in object $(".#{instance_id}") added class _jsPlumb_endpoint_anchor_. How disable adding class to this object?
My code on coffee script:
jsPlumb.connect
source: port_id
target: instance_id
I use jsPlumb library and I run into problem: in object $(".#{instance_id}") added class _jsPlumb_endpoint_anchor_. How disable adding class to this object?
My code on coffee script:
jsPlumb.connect
source: port_id
target: instance_id
Copyright © 2021 Jogjafile Inc.
Such
_jsPlumb_classes are used byjsPlumbinternally for management, there is no usual way to disable it, since it might affect the functionality.A good alternative is to add your own class on top of
jsPlumbdefaults to control what you need, or just add CSS for the class added byjsPlumbReference :
https://jsplumbtoolkit.com/doc/styling-via-css
https://jsplumbtoolkit.com/doc/anchors.html#css
https://jsplumbtoolkit.com/doc/defaults.html - Change the defaults.