2015年8月10日

摘要: 鼠标事件 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 阅读(2907) 评论(0) 推荐(0) 编辑

导航