Undo-Redo feature in Fabric.js

前端 未结 9 736
梦谈多话
梦谈多话 2020-12-04 13:28

Is there any built-in support for for undo/redo in Fabric.js? Can you please guide me on how you used this cancel and repeat in [http://printio.ru/][1]

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 14:12

    You can use "object:added" and/or "object:removed" for that — fabricjs.com/events

    You can follow this post: Do we have canvas Modified Event in Fabric.js?

提交回复
热议问题