0👍
FabricJS allows you to pass an array of additional properties into the toJSON()
method to include them in the serialization.
You can use it like this:
canvas.toJSON(['editable']);
Source:stackexchange.com
0👍
FabricJS allows you to pass an array of additional properties into the toJSON()
method to include them in the serialization.
You can use it like this:
canvas.toJSON(['editable']);