Migration guide

Code before migration:

var

myRecognizer

GestureRecognizer

kind:

PointerDeviceKind

mouse

);

Code after migration:

var

myRecognizer

GestureRecognizer

supportedDevices:

PointerDeviceKind

>[

PointerDeviceKind

mouse

],

);

References

API documentation:

GestureRecognizer

EagerGestureRecognizer

ForcePressGestureRecognizer

LongPressGestureRecognizer

DragGestureRecognizer

VerticalDragGestureRecognizer

HorizontalDragGestureRecognizer

MultiDragGestureRecognizer

ImmediateMultiDragGestureRecognizer