WindowDragHandlers
What a drag reports to. Each is read at event time, so the object may be rebuilt every render.
@internote/canvas-sdk/reactOn this page
import { WindowDragHandlers } from '@internote/canvas-sdk/react';#Fields
onEndThe end: a lift, or the system taking the pointer away.
cancelled is true for the second.(event: React.PointerEvent<Element>, drag: WindowDragState, cancelled: boolean) => voidonMoveEach move of the pointer that owns the drag.
(event: React.PointerEvent<Element>, drag: WindowDragState) => voidonStartThe press. Return
false to decline it — the wrong button, a disabled control — and nothing happens until the next press.(event: React.PointerEvent<Element>, drag: WindowDragState) => boolean | voidDeclared in packages/canvas-sdk/src/react/gestures/use-window-drag.ts:44.