docs: function (options) {
              if (isObject(options)) {
                  this.options.resize.enabled = options.enabled === false? false: true;
                  this.setPerAction('resize', options);
                  this.setOnEvents('resize', options);
  
                  if (/^x$|^y$|^xy$/.test(options.axis)) {
                      this.options.resize.axis = options.axis;
                  }
                  else if (options.axis === null) {
                      this.options.resize.axis = defaultOptions.resize.axis;
                  }
  
                  if (isBool(options.preserveAspectRatio)) {
                      this.options.resize.preserveAspectRatio = options.preserveAspectRatio;
                  }
                  else if (isBool(options.square)) {
                      this.options.resize.square = options.square;
                  }
  
                  return this;
              }
              if (isBool(options)) {
                  this.options.resize.enabled = options;
  
                  return this;
              }
              return this.options.resize;
          }