RedDokia API 레퍼런스 / RedDokiaExternalNativeDropEvent
인터페이스: RedDokiaExternalNativeDropEvent
OS 파일 또는 HTML5 draggable 요소가 도킹 그리드에 드롭되었을 때 RedDokiaProps.onExternalNativeDrop으로 전달되는 이벤트 페이로드입니다.
속성
| 속성 | 유형 | 설명 |
|---|---|---|
clientX | number | 드롭 시점의 뷰포트 X 좌표. |
clientY | number | 드롭 시점의 뷰포트 Y 좌표. |
controller | RedDokiaController | 반환값 없이 직접 레이아웃을 제어할 때 사용할 RedDokiaController 인스턴스. |
dataTransfer | DataTransfer | 드롭 이벤트의 DataTransfer 객체. |
event | DragEvent | 원본 브라우저 DragEvent 객체. |
files | File[] | 드롭된 OS File 목록 배열 (파일이 아닌 드래그이면 빈 배열). |
targetGroupId | string | 드롭 위치의 대상 그룹 ID (루트 외곽 또는 빈 그리드인 경우 null). |
zone | RedDokiaDockZone | 판정된 5방향 도킹 영역 ('center' | 'left' | 'right' | 'top' | 'bottom'). |