[Vuejs]-How to add transition to the creation and deletion of a context menu in d3.js?

0πŸ‘

.transition() has its own event system, you can transition towards opacity: 0 and then .on("end", function() { d3.select(this).remove(); }) to remove the node only when it’s already invisible!

Leave a comment