摘要:
鼠标事件 canvas.onmousedown = function(e ) {//React to the mouse down event }; canvas.addEventListener('mousedown', function(e ) { //React to the mouse down event}); 上面一种方法看起来更简单一些,但是,如果需要向某个鼠标事件注册多个监听器的话... 阅读全文
posted @ 2015-08-10 10:24
1000px
阅读(2991)
评论(0)
推荐(0)

浙公网安备 33010602011771号