Is there an easy way to detect that any objects in a canvas were added/changed/deleted? A method like canvas.wasChanged()
. I need to detect that after re-creating a canvas with loadFromJSON
.
Asked
Active
Viewed 773 times
0

ps0604
- 1,227
- 23
- 133
- 330
-
http://stackoverflow.com/questions/18507291/do-we-have-canvas-modified-event-in-fabric-js - see if this can be of any help – Robin Apr 08 '15 at 10:48
-
Thanks. I ended up saving the original JSON and comparing with a JSON created after the user potentially changed the canvas – ps0604 Apr 08 '15 at 10:51