Interface: ChangeEvent
Payload for the onChange callback. Fires whenever the visible drawing changes (new stroke, undo/redo, clear, programmatic set).
Properties
| Property | Type | Description |
|---|---|---|
isEmpty | boolean | true while there are zero strokes on the canvas. |
strokeCount | number | Total number of strokes currently on the canvas. |