在 link 上检测元素

Detecting element over a link

我想检测元素何时在 link 上释放。

感谢您的帮助。

example

使用纸张触发事件。

paper.on('cell:pointerup', function(evt, x, y) { 
})

cell:pointerup 或 cell:mouseout 将满足您的要求。

查看本教程http://jointjs.com/api#joint.dia.Paper:events