Mouse movement is contained in a Timeline object named Mouse.
鼠标移动包含在名为“鼠标”的时间轴对象中。
In between, the move method receives the coordinates of every mouse movement.
在这两个方法调用之间,move方法接收每次鼠标移动的坐标。
Sending every mouse movement might not be a very efficient use of the system, but it demonstrates the interactivity of Ajax.
如果在每次移动鼠标时都发送它的位置,那么系统的使用效率可能较低,但是这演示了Ajax的交互性。
应用推荐