RedditPP Mascot

RedditPP

r/webdev • … • u/Faucelme

Looking for a JS library for managing "Select all" checkboxes.

It there some framework-independent JS library focused on managing "Select all"-style checkboxes? Like the ones in, say, the Gmail app.

It should manage the checking and unchecking the individual checkboxes when "Select all" is checked/unchecked. And it should correctly set the "Select all" to [indeterminate](https://developer.mozilla.org/es/docs/Web/HTML/Element/input/checkbox#indeterminate) when the managed checkboxes are in a mix of states.

— 0