dragStarted Event

Summary

Occurs when the user starts a drag operation.

Syntax
TypeScript
JavaScript
Object.defineProperty(InteractiveService.prototype,'dragStarted',  
	get: function(), 
	set: function(value) 
) 
dragStarted: LeadEvent; 
Remarks

The DragStarted event will fire when any of the following occurs:

On a device that supports mouse and DragStartsOnDown is set to true: When the user presses down the left button and the mouse is over an EventsTarget.

On a device that supports mouse and DragStartsOnDown is set to false: When the user presses down the left button and then moves the mouse over an EventsTarget.

On a device that supports touch and DragStartsOnDown is set to true: When the user presses a finger down on an EventsTarget.

On a device that supports touch and DragStartsOnDown is set to false: When the user presses a finger down and then moves over an EventsTarget.

Note that if the value of EnableMouseWheel is set to true, then mouse wheel events on desktop browsers are converted into DragStarted, DragDelta and DragCompleted events. For more information, refer to EnableMouseWheel.

Event Data
ParameterTypeDescription
sendervarThe source of the event.
eInteractiveDragStartedEventArgsThe event data.
Requirements

Target Platforms

Help Version 22.0.2023.2.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.