code: function(ev) {
      if (ev) ev.preventDefault();
      this._inputEl.value = '';
      this._typeahead.selected = null;
      this._typeahead.clear();
      this._onChange();
      this._clearEl.style.display = 'none';
      this._removeMarker();
      this.lastSelected = null;
      this._eventEmitter.emit('clear');
      this.fresh = true;
    }
docs: Shared logic for clearing input
  @param {Event} [ev] the event that triggered the clear, if available
  @private