【发布时间】:2015-01-30 15:55:40
【问题描述】:
我想使用图像的 id 将 dragmove 事件添加到特定图像。它不工作。
$("#image1").on('dragmove', function(evt) {
var shape = evt.targetNode;
alert('you clicked on \"' + shape.getPosition().x + '\"');
});
【问题讨论】:
标签: javascript mouseevent kineticjs