fabric canvas full width code example
Example: new fabric canvas set width
var canvas = new fabric.Canvas("test_fabric");
canvas.setDimensions({width:800, height:200});
var canvas = new fabric.Canvas("test_fabric");
canvas.setDimensions({width:800, height:200});