ImageViewer - Drag Drop Features

Shows how the LEADTOOLS ImageViewer's DragInteractiveMode allows for movement of items and replacement of item content. Item mode, the default, uses a customizable drag control that works between items and ImageViewers, in all LEADTOOLS-supported HTML5 browsers (including mobile). Drag events are specified on both ImageViewers and Items.

Native mode uses the HTML Drag and Drop API, and is subject to native browser support. The entire ImageViewer is treated as a single drag entity, and events are specified accordingly.

The Active Item of each ImageViewer is colored purple, and the other items are colored red.

Drag To Start


Left ImageViewer




Right ImageViewer