css-toggle
css-toggle copied to clipboard
Proposal for a CSS Toggle spec
[3. Creating a Toggle: the toggle-root property](https://tabatkins.github.io/css-toggle/#toggle-root-property) says: > In addition to specifying how to create new [toggles](https://tabatkins.github.io/css-toggle/#css-toggle), a [toggle specifier](https://tabatkins.github.io/css-toggle/#toggle-toggle-specifier) overrides the existing toggle’s [states](https://tabatkins.github.io/css-toggle/#toggle-states), [overflow](https://tabatkins.github.io/css-toggle/#toggle-overflow), and [group](https://tabatkins.github.io/css-toggle/#toggle-group), if...
I’m wondering if persisting toggles will be covered. Would come in handy for persisting things like color choices, active tabs, etc. To easily do so I’m thinking of a `change`...
Miriam and I have discussed being able to tie a toggle to scroll snaps in an element. Nicole brought up the point that you might want to scroll a "page"-width...
would love if i could make/share charts for the ~state machines i'll be building with toggle, be great for tooling and greater community adoption if verbiage and functionality were more...
In #7 it came up that it would be nice to be able to have some states that are not reachable via a normal cycle. I think there are a...
In the tab-group demo, in order to set an active initial state on the first tab, we repeat the entire `toggle` declaration with a minor change ([line 455](https://github.com/tabatkins/css-toggle/blob/8a57731d84eecab6de3697a2100d399a80aa4627/index.bs#L455)): ```css panel-tab...
I suppose that there are two options here: 1. We don't allow it 2. The toggle is set on the parent element (only in the case of trigger interaction, any...
In the following example: Example from the spec in which a `panel-set` contains multiple `panel-tab` only one of which can be active at the same time, thanks to the `group`...
https://drafts.csswg.org/css-values-5/#funcdef-toggle defines a `toggle()` function. This defines some `toggle-*` properties and a `:toggle()` pseudo-class. They are unrelated features with the same name, very confusing.
A note for discussions trying to describe a thing that keeps tripping me: numbers, names, groups, values and what they mean. By default a toggle is, as the name would...