If you have jquery in the page you can use a selector, like, say
jsPlumb.addEndpoint($(".someClass"), { connectionsDetachable:true });
Remember that elements have to exist before you can add endpoints to them: if you use a selector like this, you won’t automatically get an endpoint on newly created elements.
Please do just use the groups in the future rather than emailing me questions directly.
--
You received this message because you are subscribed to a topic in the Google Groups "jsPlumb" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jsplumb/PWFfrPvBERE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jsplumb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Call addEndpoint on that element after you have added it.
Call addEndpoint on that element after you have added it.
--