MCPcopy
hub / github.com/github/awesome-copilot / renderItems

Function renderItems

website/src/scripts/pages/extensions.ts:287–292  ·  view source on GitHub ↗
(items: Extension[])

Source from the content-addressed store, hash-verified

285}
286
287function renderItems(items: Extension[]): void {
288 const list = document.getElementById("resource-list");
289 if (!list) return;
290
291 list.innerHTML = renderExtensionsHtml(items);
292}
293
294function setupActionHandlers(list: HTMLElement | null): void {
295 if (!list || actionHandlersReady) return;

Callers 1

applySortAndRenderFunction · 0.70

Calls 1

renderExtensionsHtmlFunction · 0.90

Tested by

no test coverage detected