code: function() {
                  var index = -1;
  
                  for (var i = 0; i < _srcElements.length; i++) {
                      if (_srcElements[i] === this.$element) {
                          index = i;
                          break;
                      }
                  }
  
                  _srcElements.splice(index, 1);
  
  
                  this.hide();
                  this.$element.data('plugin_' + pluginName, null);
                  if (this.getTrigger() === 'click') {
                      this.$element.off('click');
                  } else if (this.getTrigger() === 'hover') {
                      this.$element.off('mouseenter mouseleave');
                  }
                  if (this.$target) {
                      this.$target.remove();
                  }
              }
docs: /* api methods and actions