We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Matter.Mouse模块包含了一些创建和操作鼠标输入的方法。
##Methods Matter.Mouse.clearSourceEvents(mouse)
Matter.Mouse.clearSourceEvents(mouse)
移除所有捕获到的原事件
Matter.Mouse.create(element)
创建一个鼠标输入
Matter.Mouse.setElement(mouse, element)
设置鼠标关联的element
Matter.Mouse.setOffset(mouse, offset)
设置鼠标的绝对位置
Matter.Mouse.setScale(mouse, scale)
设置鼠标位置的比例