js(鼠标键盘拖动事件)

拖动事件是h5(HTML5的)

1:draggable(true)

2:拖动源

ondragstart ,ondragend

3:目的地

ondraglenter,ondragover,ondragleave,

注意关闭默认

setData

getData

---------------------------

鼠标事件,

左键(0),中键(1),右键(2)

onmousedown

onmouseup

onmousemove

--------------------------

键盘事件

keyDown

keyUP

-------------

上一篇:The `XXXX` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-game-desktop/Pods-game-desktop.release.xcconfig'. This can lead to prob


下一篇:创建ajax异步对象方法