Posts by Murilo • 26 points
1 post
-
1
votes1
answer32
viewsA: Add data to an object/image in Fabricjs
To add new information, you need to create an object, use obj.set() and render the canvas. Example: var obj = canvas.getActiveObject(); obj.set('foo','bar'); canvas.renderAll(); Once this is done,…