Widget: DevGuidelines: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Cschwentker (talk | contribs)
No edit summary
Cschwentker (talk | contribs)
No edit summary
Line 254: Line 254:
                 return guideline;
                 return guideline;
             });
             });
        }
        function applyFilters(clear) {
            // TODO: apply Filters
         }
         }


Line 304: Line 308:
                 console.log('done')
                 console.log('done')
             });
             });
 
            tabulator.on('dataFiltered', (filters, rows) => {
                const summary = document.getElementById('filter-summary');
                const filter = filters[0];
            });


             // Listen for changes in filter checkbox state.
             // Listen for changes in filter checkbox state.
Line 316: Line 323:
                 applyFilters();
                 applyFilters();
             }, { passive: true });
             }, { passive: true });
             document.getElementById('target-audience-filte').addEventListener('change', event => {
             document.getElementById('target-audience-filter').addEventListener('change', event => {
                 applyFilters();
                 applyFilters();
             }, { passive: true });
             }, { passive: true });

Revision as of 14:20, 22 November 2022

Development version of the List of Guidelines.
Not ready for production!