MCPcopy Create free account
hub / github.com/jackvale/rectg / setSectionHeader

Function setSectionHeader

web/src/scripts/main.js:317–325  ·  view source on GitHub ↗
(title, count, subtitle = '', description = '')

Source from the content-addressed store, hash-verified

315}
316
317function setSectionHeader(title, count, subtitle = '', description = '') {
318 if (activeSectionTitle) activeSectionTitle.textContent = title;
319 if (activeSectionMeta) {
320 activeSectionMeta.textContent = subtitle || `(${count})`;
321 }
322 if (activeSectionDesc) {
323 activeSectionDesc.textContent = description;
324 }
325}
326
327function setResultStatus(message = '', show = false) {
328 if (!resultStatus) return;

Callers 2

renderSectionFunction · 0.85
renderSearchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected