Open sebastialonso opened 8 years ago
Ok, I solved this. An additional change was necessary in the $scope.options object: (coffeescript btw)
before
$scope.options =
maximize: false
aspectRatio: 1.6
done: (dataNew) ->
data = dataNew
return
now
$scope.options =
maximize: false
aspectRatio: 1.6
crop: (dataNew) ->
data = dataNew
return
I'm nor really sure if this kind of change should appear in the README, but it would save A LOT of time for other people
As was updated in #9, the directive change its syntax, I updated that.
Now the cropper is not populating the
file
ordata
variables (all taken from the demo)Here's the view with the updated syntax
Anything that I might be missing? Any pointers? Thanks.