본문으로 건너뛰기

onEventDropOut

Description

드래그된 이벤트가 스케줄러 영역 밖에 드롭될 때 발생합니다

onEventDragOut: (id: string, ev: object, to: object, e: Event) => boolean;

Parameters

  • id - (required) string - 이벤트의 ID
  • ev - (required) object - 이벤트 객체
  • to - (required) object - 대상 스케줄러 (빈 공간에 드롭된 경우 null)
  • e - (required) Event - 네이티브 이벤트 객체

Returns

  • result - (boolean) - 기본 이벤트 동작이 진행될지(true) 아니면 방지될지(false) 여부를 나타냅니다

Example

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