React Sketch Canvas
APIType Aliases

AllowOnlyPointerType

AllowOnlyPointerType = "all" | "pen" | "mouse" | "touch"

Defined in: Canvas/types.ts:19

Pointer device class accepted by the drawing surface.

Remarks

Use "all" to accept mouse, pen, and touch input. Use a specific pointer type when the canvas should ignore other input devices, for example a pen-only signing flow.

On this page