DragDropConfig
interface
Object that can be used to configure the drag items and drop lists within a module or a component.
lockAxis
DragAxis | undefineddragStartDelay
DragStartDelay | undefinedconstrainPosition
DragConstrainPosition | undefinedpreviewClass
string | string[] | undefinedboundaryElement
string | undefinedrootElementSelector
string | undefineddraggingDisabled
boolean | undefinedsortingDisabled
boolean | undefinedlistAutoScrollDisabled
boolean | undefinedlistOrientation
DropListOrientation | undefinedzIndex
number | undefinedpreviewContainer
"global" | "parent" | undefineddragStartThreshold
numberMinimum amount of pixels that the user should drag, before the CDK initiates a drag sequence.
pointerDirectionChangeThreshold
numberAmount the pixels the user should drag before the CDK considers them to have changed the drag direction.
parentDragRef
DragRef<any> | undefinedRef that the current drag item is nested in.
Jump to details