code: function(event) {
          event = event || {};
  
          if (event.added) {
              this._renderSelectedItem(event.added);
  
              this._scrollToBottom();
          } else if (event.removed) {
              removeElement(this.$(getItemSelector(SELECTED_ITEM_SELECTOR, event.removed.id)));
          } else {
              this._forEachSelectedItem(removeElement);
  
              this._data.forEach(this._renderSelectedItem, this);
  
              this._updateInputWidth();
          }
  
          if (event.added || event.removed) {
              if (this.dropdown) {
                  this.dropdown.showResults(this.filterResults(this.dropdown.results), {
                      hasMore: this.dropdown.hasMore
                  });
              }
  
              if (!hasTouch) {
                  this.focus();
              }
          }
  
          this.positionDropdown();
  
          this._updatePlaceholder();
      }
docs: Re-renders the selection.
  
  Normally the UI is automatically updated whenever the selection changes, but you may want to
  call this method explicitly if you've updated the selection with the triggerChange option set
  to false.