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

Function selectChatAppsTab

web/js/chat-apps-dialog.js:74–84  ·  view source on GitHub ↗
(tabName)

Source from the content-addressed store, hash-verified

72}
73
74function selectChatAppsTab(tabName) {
75 tabButtons.forEach((button) => {
76 const isActive = button.dataset.chatappsTab === tabName;
77 button.classList.toggle("active", isActive);
78 button.setAttribute("aria-selected", isActive ? "true" : "false");
79 });
80
81 tabPanels.forEach((panel) => {
82 panel.hidden = panel.dataset.chatappsPanel !== tabName;
83 });
84}
85
86// --- Public API ---
87

Callers 2

initChatAppsDialogFunction · 0.85
openFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected