Home | History | Annotate | Download | only in ui

Lines Matching refs:completions

297      * @param {!Array.<string>} completions
301 _canShowBox: function(completions, canShowForSingleItem, userEnteredText)
303 if (!completions || !completions.length)
306 if (completions.length > 1)
310 return canShowForSingleItem && completions[0] !== userEnteredText;
325 * @param {!Array.<string>} completions
330 updateSuggestions: function(anchorBox, completions, selectedIndex, canShowForSingleItem, userEnteredText)
332 if (this._canShowBox(completions, canShowForSingleItem, userEnteredText)) {
333 this._updateItems(completions, userEnteredText);