Skip to main content

DragAndDropFeatureItemInstance <T>

Index

Properties

isDragTarget

isDragTarget: () => boolean

Checks if the user is dragging in a way which makes this the new parent of the dragged items, either by dragging on top of this item, or by dragging inbetween children of this item. See @{isUnorderedDragTarget} if the latter is undesirable.


Type declaration

    • (): boolean
    • Returns boolean

isDragTargetAbove

isDragTargetAbove: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

isDragTargetBelow

isDragTargetBelow: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

isDraggingOver

isDraggingOver: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

isUnorderedDragTarget

isUnorderedDragTarget: () => boolean

As opposed to @{isDragTarget}, this will not be true if the target is inbetween children of this item. This returns only true if the user is dragging directly on top of this item.


Type declaration

    • (): boolean
    • Returns boolean