Circle V2 API Docs
    Preparing search index...

    Type Alias DrawSurfaceProps

    type DrawSurfaceProps = {
        onPointerCancel: () => void;
        onPointerDown: (event: DrawPointerEvent) => void;
        onPointerMove: (event: DrawPointerEvent) => void;
        onPointerUp: (event: DrawPointerEvent) => void;
    }
    Index

    Properties

    onPointerCancel: () => void

    The OS taking the pointer away (alt-tab, a system gesture) ends the drag, not the box.

    onPointerDown: (event: DrawPointerEvent) => void
    onPointerMove: (event: DrawPointerEvent) => void
    onPointerUp: (event: DrawPointerEvent) => void