check if new element is added in canvas in fabricjs code example Example: fabricjs view onlyu fabric.StaticCanvas