angular-fabric
angular-fabric copied to clipboard
Control a FabricJS canvas with AngularJS
``` $scope.init = function () { $scope.fabric = new Fabric({ JSONExportProperties: FabricConstants.JSONExportProperties, textDefaults: FabricConstants.textDefaults, shapeDefaults: FabricConstants.shapeDefaults, json: {} }); $scope.fabric.on('object:moving', function (e) { console.log("Object moving") }) };
I have successfully managed to run a basic implementantion inside Electron. I was not able to use this repo – I think I am missing some dependencies you have used...
I faced with issue when pathgroup elements become discolored. It happens when pathgroup was selected right after other element with existing 'fill' property. Can you please modify condition here https://github.com/michaeljcalkins/angular-fabric/blob/master/assets/fabricDirective.js#L75...
I have implemented a ng-file-drop directive that encodes the image to URL data (base64) and then I put the image on the canvas // add the encoded file to the...
``` $scope.$on('canvas:created', function () { $scope.fabric = new Fabric({ canvasWidth: 800, canvasOriginalWidth: 800 }); }); ``` Creates canvas with 300 width and 300 height. The following works, nevertheless: ``` $scope.$on('canvas:created',...
We implemented the angular-fabric with our ionic framework, after doing so, we can build an ios app but cannot build a android app. If there's something we can do for...