跳转到主要内容

onMouseMove

Description

当鼠标光标在scheduler上移动时触发

onMouseMove: (id: string, e: Event) => void

Parameters

  • id - (required) string - 事件的id
  • e - (required) Event - 一个原生事件对象

Example

scheduler.attachEvent("onMouseMove", function (id, e){
//在这里编写自定义逻辑
});

Details

当光标移动到一个事件上时,处理函数会接收到该事件的id;如果没有移动到任何事件上,则接收到null。

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.