code: function(minimize) {
          if (this.maximizeDiv) {
              this.maximizeDiv.style.display = minimize ? '' : 'none';
          }
          if (this.minimizeDiv) {
              this.minimizeDiv.style.display = minimize ? 'none' : '';
          }
      }
docs: Method: showToggle
  Hide/Show the toggle depending on whether the control is minimized
  
  Parameters:
  minimize - {Boolean}