fromEvent

fromEvent(selector,Event)

实际效果图

这个功能和cad 3dmax里面的鼠标定位功能一致吧,是不是有点小成就?

You can change the world with your heart,even a lot of changes sometimes unless you won't geiv up....
原文地址:https://www.cnblogs.com/xiongwei2017/p/7074180.html