Skip to main content

dragHandle

The gesture after the pointer moves to at: a drag from then on if it left the tolerance.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { dragHandle } from "@mapcairn/core";

function dragHandle(gesture: HandleGesture, at: PixelPoint): HandleGesture;

Parameters​

  • gesture (HandleGesture)
  • at (PixelPoint)

Returns​

HandleGesture

See also​

Source: packages/core/src/draw/gesture.ts:58