Reset and Reload Fabric Canvas

 

var json = canvas.toJSON();

canvas.clear();

canvas.loadFromJSON(json, canvas.renderAll.bind(canvas));

 

Leave a Reply