# SyGridRowDragSessionReport

SyGridRowDragSessionReport의 필드와 허용 값, 이 타입을 사용하는 API입니다.

Canonical: https://grid.syidax.com/ko/docs/types/SyGridRowDragSessionReport/

<a id="definition"></a>

## 타입 정의

물음표(?)는 선택 항목이고 readonly는 직접 변경하지 않는 값입니다. 유니온(|)은 허용된 형태 중 하나를 뜻합니다. 함수는 해당 시점에 Grid가 호출할 콜백입니다.

```typescript
export interface SyGridRowDragSessionReport {
  readonly enabled: boolean;
  readonly loaded: boolean;
  readonly gesture: {
    readonly phase: 'idle' | 'pending' | 'armed' | 'yielded';
    readonly pointerType: 'mouse' | 'pen' | 'touch' | null;
    readonly travelled: number;
    readonly yieldReason: string | null;
    readonly [extra: string]: unknown;
  } | null;
  readonly session: {
    readonly dragId: string;
    readonly mode: 'managed' | 'unmanaged';
    readonly phase: 'dragging' | 'ended';
    readonly item: SyGridRowDragItem;
    readonly target: SyGridRowDragTarget | null;
    readonly [extra: string]: unknown;
  } | null;
  readonly report: unknown;
  readonly events: ReadonlyArray<unknown>;
  readonly residue: ReadonlyArray<string>;
  readonly keyboard: { readonly grabbed: boolean; readonly originIndex: number; readonly currentIndex: number } | null;
  readonly zones: ReadonlyArray<string>;
  readonly lastAutoScroll: unknown;
}
```

<a id="used-by"></a>

## 이 타입을 사용하는 API

- [getRowDragSession](https://grid.syidax.com/ko/docs/methods/getRowDragSession.md) — 현재 행 드래그 세션의 진행 상태를 읽습니다.

<a id="parents"></a>

## 이 타입을 포함하는 계약

- [SyGridImperativeMethods](https://grid.syidax.com/ko/docs/types/SyGridImperativeMethods.md)

<a id="related"></a>

## 연결된 타입

- [SyGridRowDragItem](https://grid.syidax.com/ko/docs/types/SyGridRowDragItem.md)
- [SyGridRowDragTarget](https://grid.syidax.com/ko/docs/types/SyGridRowDragTarget.md)
