본문으로 건너뛰기

onBeforeEventDragOut

Description

스케줄러에서 이벤트가 드래그되어 나가기 직전에 트리거됩니다.

onBeforeEventDragOut: (id: string, ev: object, e: Event) => boolean

Parameters

  • id - (required) string - 이벤트의 ID
  • ev - (required) object - 이벤트의 데이터 객체
  • e - (required) Event - 네이티브 이벤트 객체

Returns

  • result - (boolean) - 기본 이벤트 동작을 계속 진행할지(true) 중지할지(false) 결정합니다.

Example

scheduler.attachEvent("onBeforeEventDragOut", function (id, ev, 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.