MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / showLoadingIndicator

Function showLoadingIndicator

web/js/chat.js:384–395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382}
383
384function showLoadingIndicator() {
385 if (!currentAssistantMsg) return;
386 let indicator = currentAssistantMsg.querySelector(".loading-indicator");
387 if (!indicator) {
388 indicator = document.createElement("div");
389 indicator.className = "loading-indicator";
390 indicator.innerHTML = `<span></span><span></span><span></span>`;
391 currentAssistantMsg.appendChild(indicator);
392 }
393 indicator.style.display = "flex";
394 scrollToBottom();
395}
396
397function hideLoadingIndicator() {
398 if (!currentAssistantMsg) return;

Callers 3

sendMessageFunction · 0.85
sendBotCommandFunction · 0.85
handleAgentEventFunction · 0.85

Calls 1

scrollToBottomFunction · 0.85

Tested by

no test coverage detected