Skip to content

Documentation / @finchart/tools / DrawingsChange

Interface: DrawingsChange ​

Defined in: tools/src/tools.ts:162

Why the list changed. A drag fires on every pointermove while moving, so this is broken out separately so a listener can debounce just that. update fires once per call — if you drive it from a high-frequency input (a spinner, a slider), the debounce belongs on your side, the same as move.

Properties ​

reason ​

reason: "add" | "remove" | "move" | "update" | "clear" | "load"

Defined in: tools/src/tools.ts:163


via ​

via: "direct" | "undo" | "redo"

Defined in: tools/src/tools.ts:165

Whether this was a direct edit or a history replay.