code: function(force, event) {
  
                  if (!force && this.getTrigger() === 'sticky') {
                      return;
                  }
                  if (!this._opened) {
                      return;
                  }
                  if (event) {
                      event.preventDefault();
                      event.stopPropagation();
                  }
  
                  if (this.xhr && this.options.abortXHR === true) {
                      this.xhr.abort();
                      this.xhr = null;
                  }
  
  
                  var e = $.Event('hide.' + pluginType);
                  this.$element.trigger(e, [this.$target]);
                  if (this.$target) {
                      this.$target.removeClass('in').addClass(this.getHideAnimation());
                      var that = this;
                      setTimeout(function() {
                          that.$target.hide();
                          if (!that.getCache()) {
                              that.$target.remove();
                              //that.getTriggerElement.removeAttr('data-target');
                          }
                      }, that.getHideDelay());
                  }
                  if (this.options.backdrop) {
                      backdrop.hide();
                  }
                  this._opened = false;
                  this.$element.trigger('hidden.' + pluginType, [this.$target]);
  
                  if (this.options.onHide) {
                      this.options.onHide(this.$target);
                  }
  
              }
docs: /*
  param: force    boolean value, if value is true then force hide the popover
  param: event    dom event,