Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 146: Line 146:
         });
         });


         document.getElementById('data-source-filter').addEventListener('change', function(event) {
         document.getElementById('data-source-filter').addEventListener('change', event => {
             console.log(event)
             console.log(event)
         });
            const chk = Array.from(document.querySelectorAll('#data-source-filter input[type="checkbox"]:checked')).map(el => el.value);
            console.log(chk)
         }, { passive: true });


        // const chk = Array.from(document.querySelectorAll('#data-source-filter input[type="checkbox"]:checked')).map(el => el.value);
        // console.log(chk)
     });
     });
     </script>
     </script>

Revision as of 13:41, 8 June 2022

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