鼠标的按键讲解

  鼠标上面有三个按键:通常用ev.button表示;

  ev.button 0代表左键;

  ev.button 1代表中间的滚轮;

  ev.button 2代表右键;

  ++0    0要使用变量的形式;  

  math.pow(3,2)  表示3的2次方   math的次幂

  (!onmin)  这是空的意思, true的对立面

  

posted on 2018-12-14 17:27  Web引领者  阅读(3547)  评论(0编辑  收藏  举报