Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 673: | Line 673: | ||
// Listen for changes in filter checkbox state. | // Listen for changes in filter checkbox state. | ||
document.getElementById(' | document.getElementById('functions-filter').addEventListener('change', event => { | ||
// Selecting/deselecting the category checks/unchecks all subfunctions. | |||
// Picking at least one subfunction activates the category. | // Picking at least one subfunction activates the category. | ||
// Picking zero subfunctions deactivates the category. | // Picking zero subfunctions deactivates the category. | ||
console.log(event.target) | console.log(event.target) | ||
applyFilters(); | applyFilters(); | ||
}, { passive: true }); | }, { passive: true }); | ||
document.getElementById(' | document.getElementById('data-source-filter').addEventListener('change', event => { | ||
applyFilters(); | applyFilters(); | ||
}, { passive: true }); | }, { passive: true }); |
Revision as of 15:31, 18 November 2022
Development verstion of the DCT List.
Not ready for production!