public/minimumui/js/image_upload.js
/**
     * Change the mode between moving and cropping
     *
     * @param {string} mode
     */
Change the mode between moving and cropping
@param {string} mode
Change the mode between moving and cropping @param { string } mode
changeMode(mode) {
        if (this.cropper != null) {
            this.cropper.setDragMode(mode);
        }
    }
changeMode ( mode ) { if ( this . cropper != null ) { this . cropper . setDragMode ( mode ) ; } }
Change the mode between moving and cropping
 @param {string} mode
Change the mode between moving and cropping @param { string } mode