Skip to content

RedDokia API 레퍼런스 / RedDokiaExternalNativeDropEvent

인터페이스: RedDokiaExternalNativeDropEvent ​

OS 파일 또는 HTML5 draggable 요소가 도킹 그리드에 드롭되었을 때 RedDokiaProps.onExternalNativeDrop으로 전달되는 이벤트 페이로드입니다.

속성 ​

속성유형설명
clientXnumber드롭 시점의 뷰포트 X 좌표.
clientYnumber드롭 시점의 뷰포트 Y 좌표.
controllerRedDokiaController반환값 없이 직접 레이아웃을 제어할 때 사용할 RedDokiaController 인스턴스.
dataTransferDataTransfer드롭 이벤트의 DataTransfer 객체.
eventDragEvent원본 브라우저 DragEvent 객체.
filesFile[]드롭된 OS File 목록 배열 (파일이 아닌 드래그이면 빈 배열).
targetGroupIdstring드롭 위치의 대상 그룹 ID (루트 외곽 또는 빈 그리드인 경우 null).
zoneRedDokiaDockZone판정된 5방향 도킹 영역 ('center' | 'left' | 'right' | 'top' | 'bottom').