Skip to content

Interface: ChangeEvent ​

Payload for the onChange callback. Fires whenever the visible drawing changes (new stroke, undo/redo, clear, programmatic set).

Properties ​

PropertyTypeDescription
isEmptybooleantrue while there are zero strokes on the canvas.
strokeCountnumberTotal number of strokes currently on the canvas.

Released under the MIT License.