function close() {
      if (this.isInitialized && this.isClosed) {
        return this;
      }

      var halt = false;

      if (isFunction(this.beforeClose)) {
        halt = this.beforeClose(this) === false;
      }

      if (halt) {
        return this;
      }

      this.toggle(hide, State.CLOSED, 'remove');

      if (isFunction(this.afterClose)) {
        this.afterClose(this);
      }

      this.isClosed = true;
      return this;
    }
/** Closes the container and calls the defined pre/post operations */
Closes the container and calls the defined pre/post operations
Closes the container and calls the defined pre / post operations
function close() {
      if (this.isInitialized && this.isClosed) {
        return this;
      }
      var halt = false;
      if (isFunction(this.beforeClose)) {
        halt = this.beforeClose(this) === false;
      }
      if (halt) {
        return this;
      }
      this.toggle(hide, State.CLOSED, 'remove');
      if (isFunction(this.afterClose)) {
        this.afterClose(this);
      }
      this.isClosed = true;
      return this;
    }
function close ( ) { if ( this . isInitialized && this . isClosed ) { return this ; } var halt = false ; if ( isFunction ( this . beforeClose ) ) { halt = this . beforeClose ( this ) === false ; } if ( halt ) { return this ; } this . toggle ( hide , State . CLOSED , 'remove' ) ; if ( isFunction ( this . afterClose ) ) { this . afterClose ( this ) ; } this . isClosed = true ; return this ; }
Closes the container and calls the defined pre/post operations
Closes the container and calls the defined pre / post operations