• 개요
@angular/cdk/drag-drop

DragDropConfig

인터페이스

모듈이나 컴포넌트 안의 드래그 항목과 드롭 목록을 설정하는 객체입니다.

API

    
      interface DragDropConfig extends Partial<DragRefConfig> {}
    
    

lockAxis

DragAxis | null | undefined

previewClass

string | string[] | undefined

boundaryElement

string | undefined

rootElementSelector

string | undefined

draggingDisabled

boolean | undefined

sortingDisabled

boolean | undefined

listAutoScrollDisabled

boolean | undefined

zIndex

number | undefined

previewContainer

"global" | "parent" | undefined

dragStartThreshold

number

CDK가 드래그 동작을 시작하기 전에 사용자가 드래그해야 하는 최소 거리(픽셀)입니다.

pointerDirectionChangeThreshold

number

CDK가 드래그 방향이 바뀌었다고 판단하기 전에 사용자가 드래그해야 하는 거리(픽셀)입니다.

parentDragRef

DragRef<any> | undefined

현재 드래그 항목을 포함하는 참조입니다.

상세 내용으로 이동