Occurs when the user starts a drag operation.
Object.defineProperty(InteractiveService.prototype,'dragStarted',
get: function(),
set: function(value)
)
function dragStarted.add(function(sender, e));
function dragStarted.remove(function(sender, e));
dragStarted: void;
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 a 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 a EventsTarget.
On a device that supports touch and DragStartsOnDown is set to true: When the user presses a finger down on a EventsTarget.
On a device that supports touch and DragStartsOnDown is set to false: When the user presses a finger down and then moves over a 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.
Parameter | Type | Description |
---|---|---|
sender | var | The source of the event. |
e | InteractiveDragStartedEventArgs | The event data. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET