5.20202.732
wijmo.touch Class DragDropTouch Wijmo API Class

DragDropTouch Class

Defines a class that adds support for touch-based HTML5 drag/drop operations.

The purpose of this class is to enable using existing, standard HTML5 drag/drop code on mobile devices running IOS or Android.

To use it, import the module into your application using this statement:

import '@grapecity/wijmo.touch';

This will create a single instance of a DragDropTouch that listens to touch events and raises the appropriate HTML5 drag/drop events as if they had been caused by mouse actions.

For details and examples on HTML drag and drop, see https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Drag_operations.

Heirarchy

  • DragDropTouch

Constructors

Methods

Constructors

constructor

Methods

Static getInstance