Specify subgroups of checkboxes #10
Replies: 3 comments 2 replies
-
|
I thought about keeping state of which as the value for |
Beta Was this translation helpful? Give feedback.
-
|
One solution which modifies the DOM would of course be to check the value of But honestly I don't really vibe with that idea, as it sort of goes agains my "clean" vision for this library. |
Beta Was this translation helpful? Give feedback.
-
|
I don't want to modify the CSS in the injected styles, since it's not certain that the injected CSS is being used; the styles could be manually copied into the page's styles. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For instance, if my markup does not contain neat groups of checkboxes, such as a table, it would be cool if I could specify checkboxes that belong to each other. That way, columns could be swiped without affecting the other columns.
I want the syntax the users write to be:
Where the first two inputs would be swipe-able as a group, and the last three would be another group.
However, I don't see a way with CSS to only make one of the subgroups enlarge without modifying the DOM.
Beta Was this translation helpful? Give feedback.
All reactions