Skip to content

Variable: drawOnPress ​

ts
const drawOnPress: DrawPredicate;

Defined in: core/input.ts:28

Starts a stroke on a press of the primary button, but not on an interactive element.

Param ​

event

The pointerdown event.

Returns ​

true if the press starts a stroke.