Difference between revisions of "Widget:DCTList"
From LINKS Community Center
Line 454: | Line 454: | ||
// add subfunctions | // add subfunctions | ||
if (index < 3) { | if (index < 3) { | ||
+ | funcFilterHtml += '<div class="subfunc-filter">'; | ||
for (const func of fnInfo.functions) { | for (const func of fnInfo.functions) { | ||
const subfuncId = 'subfunc-filter-' + escapeAttr(func); | const subfuncId = 'subfunc-filter-' + escapeAttr(func); | ||
funcFilterHtml += | funcFilterHtml += | ||
− | ` | + | `<input type="checkbox" checked id="${subfuncId}" value="${func}"> |
− | + | <label for="${subfuncId}">${func}</label>`; | |
− | |||
− | |||
} | } | ||
+ | funcFilterHtml += '</div>'; | ||
} | } | ||
funcFilterHtml += '</div>'; | funcFilterHtml += '</div>'; |
Revision as of 11:51, 17 November 2022
Development verstion of the DCT List.
Not ready for production!