FIG-001/ GESTURE

double tap, long press and repeat.

The heart needs a quick double tap, delete needs a half-second hold, and the stepper keeps counting while held. whileTap starts on the first press in every case.

  • count needs that many quick presses; a slow second press fires onTapCancel.
  • hold needs the press held that many seconds; letting go early cancels.
  • repeat fires onTap every interval while held, and whileTap stays on.
↩ all examples
api · tapinput · pointer · keyboardmode · live mode · live running source
// tap options count · hold · repeat
double tap · 0
hold · 0
0
repeat
tap={{ count | hold | repeat }} press and hold
category · gesture
sheet · sheet 01 / 01
⟳ to re-run

Tap options