I need to detect if a component has been removed from the diagram because, I would hide the parameters panel in that case.
Hello @rbatllet,
If we component you mean element, you can listen to an event based on the type, f ex:
eventBus.on('shape.remove', function() {});
The types available for elements are:
- shape
- label
- connection
Cheers,
Ricardo
Thank you Ricardo. I am very grateful for the answer