본문으로 건너뛰기

onBeforeEventDragIn

Description

드래그된 이벤트가 스케줄러 영역에 진입하기 직전에 발생합니다.

onBeforeEventDragIn: (id: string, e: Event) => boolean

Parameters

  • id - (required) string - 이벤트의 id
  • e - (required) Event - 네이티브 이벤트 객체

Returns

  • result - (boolean) - 기본 이벤트 동작이 계속 진행되는지(true) 취소되는지(false)를 결정합니다.

Example

scheduler.attachEvent("onBeforeEventDragIn", function (id, e){
// 여기에 커스텀 로직을 작성하세요
return true;
});

Details

노트

이 이벤트는 서로 다른 스케줄러 간의 드래그 앤 드롭 작업 중에만 발생합니다.

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.