Skip to main content

Type Alias: StrokeLogKind

StrokeLogKind = "start" | "end" | "cancel" | "ignore" | "gesture" | "work"

Defined in: src/lib/classes/StrokeLog/index.ts:13

What a stroke log entry is about:

  • start: a stroke started
  • end: a stroke finished, with its measurements
  • cancel: a stroke in progress was abandoned, with its measurements so far
  • ignore: a pointer press didn't start a stroke
  • gesture: a touch gesture did an action (e.g. undo)
  • work: other work that kept the page busy (e.g. syncing the drawing)