code: function hideCalendar() {
              if (this.calendar !== undefined && this.calendar !== null) {
                  var calendar = this.getCalendar();
                  if (calendar.parent !== null) {
                      calendar.removeMe();
                      if (this.calendarHidden !== undefined) {
                          this.calendarHidden();
                      }
                      this.$anchor.requestFocus();
                      this.$anchor = null;
                  }
              }
              return this;
          }
docs: Hide calendar that has been shown as popup window.
  @chainable
  @method hideCalendar