Type Alias DragProgress

DragProgress: Readonly<{
    abort?: boolean;
    viewport?: Point;
}>

Return data for progress function

Type declaration

  • Optionalabort?: boolean

    If true, aborts drag operation

  • Optionalviewport?: Point

    If returned, this will be viewport coordinates to snap the drag to