function Cropper(element, options) {
            _classCallCheck(this, Cropper);

            var self = this;

            self.$element = $(element);
            self.options = $.extend({}, DEFAULTS, $.isPlainObject(options) && options);
            self.loaded = false;
            self.ready = false;
            self.completed = false;
            self.rotated = false;
            self.cropped = false;
            self.disabled = false;
            self.replaced = false;
            self.limited = false;
            self.wheeling = false;
            self.isImg = false;
            self.originalUrl = '';
            self.canvas = null;
            self.cropBox = null;
            self.pointers = {};
            self.init();
        }
Change the drag mode

@param {String} mode (optional)