Visitar URL original
DragRefConfig • Angular
The Wayback Machine - https://web.archive.org/web/20260414153951/https://angular.dev/api/cdk/drag-drop/DragRefConfig
    • Overview
@angular/cdk/drag-drop

DragRefConfig

interface

Object that can be used to configure the behavior of DragRef.

API

    
      interface DragRefConfig {}
    
    

dragStartThreshold

number

Minimum amount of pixels that the user should drag, before the CDK initiates a drag sequence.

pointerDirectionChangeThreshold

number

Amount the pixels the user should drag before the CDK considers them to have changed the drag direction.

zIndex

number | undefined

z-index for the absolutely-positioned elements that are created by the drag item.

parentDragRef

DragRef<any> | undefined

Ref that the current drag item is nested in.

Jump to details