angular-cropperjs
angular-cropperjs copied to clipboard
cropper.setDragMode("move") and cropper.crop() not working
Hello, I installed your package and I am able to get it start, but it seems the above functionality is not working. cropper.setDragMode("move"); cropper.crop()
you can find the code and the demo app below: https://imageeditorcropperjs.herokuapp.com/ https://github.com/chr1soscl/imageEditorCropperJS
My solution is adding setTimeout after the replacing the URL, maybe we need to call setDragMode after the image was loaded.