他没有时间去等待鼠标开始回应前完全一样的本意。
He doesn't have to wait long before the mouse begins to respond exactly as intended.
在浏览Google map时,不再是单击一下,然后等待整个页面重新装载,而是可以用鼠标顺畅地滚动地图。
Instead of clicking and waiting for the entire page to reload as you pan a Google map, you seamlessly scroll around the map with your mouse.
注意当鼠标点击事件正在执行的时候第一次的interval事件也触发了,与timer一样,它的事件也进入队列等待之后执行。
Note that while mouse click handler is executing the first interval callback executes. As with the timer its handler is queued for later execution.
应用推荐