MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / setHints

Function setHints

src/components/inputhints/index.js:217–225  ·  view source on GitHub ↗

* Set hint items * @param {Array } list Hint items

(list)

Source from the content-addressed store, hash-verified

215 * @param {Array<Hint>} list Hint items
216 */
217 function setHints(list) {
218 if (Array.isArray(list)) {
219 hints = list;
220 } else {
221 hints = [];
222 }
223 updateUl(hints);
224 $ul.classList.remove("loading");
225 }
226
227 function hintModification() {
228 return {

Callers 2

index.jsFile · 0.85
generateHintsFunction · 0.85

Calls 2

updateUlFunction · 0.85
removeMethod · 0.45

Tested by

no test coverage detected