Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
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);
 
         console.log('ALL', allFunctions)
 
         console.log('ALL', allFunctions)
 +
        console.log('CHOSEN', selFun)
  
 
         const selectedFunctions = Array.from(document.querySelectorAll('#functions-filter input[type="checkbox"]:checked'))
 
         const selectedFunctions = Array.from(document.querySelectorAll('#functions-filter input[type="checkbox"]:checked'))

Revision as of 16:47, 22 August 2022

Development verstion of the DCT List.
Not ready for production!