본문으로 건너뛰기

onMouseMove

Description

스케줄러 위에서 마우스 커서가 움직일 때 트리거됩니다.

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.