docs: function () {
              var opts = this._optionsBeforeMaximize;
              if (!opts) {
                  return;
              }
  
              // reapply the old options
              if (this._popup) {
                  this._popup.conf.maximized = false;
                  this._popup.conf.offset = this._shadowsZero;
                  this._setContainerOverflow(opts.containerOverflow);
              }
  
              // using setProperty instead of changeProperty for performance reasons; hence need to explicitly invoke
              // _onDimensionsChanged and updatePosition, instead of relying on onBoundPropertyChange
              this.setProperty("maxWidth", opts.maxWidth);
              this.setProperty("maxHeight", opts.maxHeight);
              this.setProperty("width", opts.width);
              this.setProperty("height", opts.height);
              this.setProperty("heightMaximized", null);
              this.setProperty("widthMaximized", null);
              this._onDimensionsChanged(false);
  
              if (opts.center) {
                  this.setProperty("center", true);
              } else {
                  this.setProperty("xpos", opts.xpos);
                  this.setProperty("ypos", opts.ypos);
              }
              this.updatePosition();
  
              if (this._popup && this._popup.isOpen) {
                  if (this._cfg.resizable) {
                      this._loadAndCreateResizable();
                  }
                  if (this._cfg.movable) {
                      this._loadAndCreateDraggable();
                  }
              }
          }