Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 305: | Line 305: | ||
const allFunctions = Array.from(document.querySelectorAll('#functions-filter input[type="checkbox"]')); | const allFunctions = Array.from(document.querySelectorAll('#functions-filter input[type="checkbox"]')); | ||
const selFun = allFunctions.filter(checkbox => checkbox.checked); | const selFun = allFunctions.filter(checkbox => checkbox.checked).map(checkbox => checkbox.value); | ||
console.log('ALL', allFunctions) | console.log('ALL', allFunctions) | ||
console.log('CHOSEN', selFun) | console.log('CHOSEN', selFun) |
Revision as of 15:50, 22 August 2022
Development verstion of the DCT List.
Not ready for production!