Consider what behavior is needed should a mousemove event occur in Inactive state: the actions and transition are the same as for a mouseover event in Inactive state.
考虑一下在Inactive状态下发生mousemove事件时需要什么行为:操作和转换与Inactive状态下的mouseover事件一样。
When that click comes, you then want to install the mousemove and mouseup handlers.
当单击发生时,就需要安装 mousemove 和 mouseup 处理程序。
When the cursor then moves, any browser will generate a mousemove or mouseout event in Inactive state.
然后,当鼠标移动时,任何浏览器都会在 Inactive 状态下生成 mousemove 或 mouseout 事件。
应用推荐