src/aria/widgets/form/MultiAutoComplete.js
function (domElement, event) {
            var label;
            var domUtil = ariaUtilsDom;
            label = domElement.textContent || domElement.innerText;
            domUtil.replaceDomElement(domElement.parentNode, this._textInputField);
            var removedSuggestionInfo = this._removeValue(label);
            var removedSuggestion = removedSuggestionInfo.removedSuggestion;
            var removedSuggestionIndex = removedSuggestionInfo.removedSuggestionIndex;
            this._keepFocus = true;
            this._textInputField.focus();
            if (removedSuggestion) {
                var report = this.controller.editValue(removedSuggestion, removedSuggestionIndex);
                this._reactToControllerReport(report);
            }
            this._restoreKeepFocus();
        }
function (domElement, event) {
            var label;
            var domUtil = ariaUtilsDom;
            label = domElement.textContent || domElement.innerText;
            domUtil.replaceDomElement(domElement.parentNode, this._textInputField);
            var removedSuggestionInfo = this._removeValue(label);
            var removedSuggestion = removedSuggestionInfo.removedSuggestion;
            var removedSuggestionIndex = removedSuggestionInfo.removedSuggestionIndex;
            this._keepFocus = true;
            this._textInputField.focus();
            if (removedSuggestion) {
                var report = this.controller.editValue(removedSuggestion, removedSuggestionIndex);
                this._reactToControllerReport(report);
            }
            this._restoreKeepFocus();
        }
function ( domElement , event ) { var label ; var domUtil = ariaUtilsDom ; label = domElement . textContent || domElement . innerText ; domUtil . replaceDomElement ( domElement . parentNode , this . _textInputField ) ; var removedSuggestionInfo = this . _removeValue ( label ) ; var removedSuggestion = removedSuggestionInfo . removedSuggestion ; var removedSuggestionIndex = removedSuggestionInfo . removedSuggestionIndex ; this . _keepFocus = true ; this . _textInputField . focus ( ) ; if ( removedSuggestion ) { var report = this . controller . editValue ( removedSuggestion , removedSuggestionIndex ) ; this . _reactToControllerReport ( report ) ; } this . _restoreKeepFocus ( ) ; }
To edit suggestion on doubleclick
@param {aria.utils.HTML} domElement
@param {aria.utils.Event} event
@protected
To edit suggestion on doubleclick