Closed andrefarzat closed 7 years ago
@andrefarzat Thank you very much. I have not been very responsive because I actually had to use a different plugin. I appreciate the mention though. Thank you once again!
no problems, @jlstr. Mark to unwatch to avoid the noise 😸
@kelkes + @jlstr I am pinging both of you for this PR is related to issue https://github.com/andrefarzat/ng-jcrop/issues/52
I added the "Add by url" in the demo page as an example in how we could choose an image via url using
input[type="url"]
. As first attempt I added ablur
event to that input and call the$rootScope.$broadcast('JcropChangeSrc');
with the input's value. It worked fine in my tests, however, there is the case that the url is invalid or the image isn't a 200 ... Dunno how we could treat this error.To test this PR, use the
npm start
command to start the server locally