DocOps / asciidocsy-jekyll-theme

Jekyll/AsciiDoc port of Docsy theme for scalable technical documentation projects
https://asciidocsy.netlify.app/docs
Apache License 2.0
9 stars 9 forks source link

Add true "toggle" (checkbox on/off) capability to toggle handlers #49

Open briandominick opened 3 years ago

briandominick commented 3 years ago

The original idea for toggle handlers included facet-style toggles for classes independent of others. So, a direct show/hide toggle for one class at a time, checkbox style.

I don't think there's any complex logic in here -- if multiple competing classes are assigned to an element/block, we might want the ability to select an all or one paradigm, whereby a class will show only when all classes are toggled on or when at least one is. We probably want to incorporate that as much as we can to leave the options wide open.

This did not make it into #48, but it should get in by 1.0.