IDragStartEventArgs

Set if the the dragging should be canceled.

cancel: boolean

Defined in projects/igniteui-angular/directives/src/directives/drag-drop/drag-drop.directive.ts:127

Optional cancelled

Section titled "cancelled"

Inherited from: IDragBaseEventArgs

Indicates that the drag ended because it was cancelled, either by calling cancelDrag() or by pressing Escape. When true no drop is performed. Only set for the dragEnd and transitioned events.

cancelled?: boolean

Defined in projects/igniteui-angular/directives/src/directives/drag-drop/drag-drop.directive.ts:122

Inherited from: IDragBaseEventArgs

Reference to the original event that caused the interaction with the element. Can be PointerEvent, TouchEvent or MouseEvent. For the dragEnd event of a cancelled drag, it is the KeyboardEvent when cancelled with Escape, and null when cancelled with cancelDrag(). transitioned does not carry the cancellation trigger.

originalEvent: KeyboardEvent | PointerEvent | MouseEvent | TouchEvent | TransitionEvent | null

Defined in projects/igniteui-angular/directives/src/directives/drag-drop/drag-drop.directive.ts:101

Inherited from: IDragBaseEventArgs

The owner igxDrag directive that triggered this event.

owner: IgxDragDirective

Defined in projects/igniteui-angular/directives/src/directives/drag-drop/drag-drop.directive.ts:103

Inherited from: IDragBaseEventArgs

The current position of the pointer on X axis when the event was triggered. Note: The browser might trigger the event with some delay and pointer would be already inside the igxDrop.

pageX: number

Defined in projects/igniteui-angular/directives/src/directives/drag-drop/drag-drop.directive.ts:112

Inherited from: IDragBaseEventArgs

The current position of the pointer on Y axis when the event was triggered. Note: The browser might trigger the event with some delay and pointer would be already inside the igxDrop.

pageY: number

Defined in projects/igniteui-angular/directives/src/directives/drag-drop/drag-drop.directive.ts:117

Inherited from: IDragBaseEventArgs

The initial position of the pointer on X axis when the dragged element began moving

startX: number

Defined in projects/igniteui-angular/directives/src/directives/drag-drop/drag-drop.directive.ts:105

Inherited from: IDragBaseEventArgs

The initial position of the pointer on Y axis when the dragged element began moving

startY: number

Defined in projects/igniteui-angular/directives/src/directives/drag-drop/drag-drop.directive.ts:107