Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Hierarchy #14

Open
rmariuzzo opened this issue Mar 9, 2015 · 0 comments
Open

Feature: Hierarchy #14

rmariuzzo opened this issue Mar 9, 2015 · 0 comments
Assignees
Milestone

Comments

@rmariuzzo
Copy link
Owner

Would be useful to add a "hierarchy" super power to checkboxes? Suppose we have the following HTML:

screen shot 2015-03-09 at 12 29 59 pm

The "hierarchy" super power will enhance the hierarchy context of checkboxes with the following behaviour:

  • Checking a checkbox will...
    • ...check its parent (this will be recursive until no more parent is found in the hierarchy).
    • ...check all of its children.
  • Unchecking a checkbox will...
    • ...uncheck its parent only if all siblings of that checkbox are unchecked (this will be recursive until no more parent is found in the hierarchy).
    • ...uncheck all of its children.

Any suggestion, or comments?

@rmariuzzo rmariuzzo modified the milestone: 1.1.0 Sep 2, 2015
@rmariuzzo rmariuzzo modified the milestones: 1.2.0, 1.1.0 Jul 31, 2016
@rmariuzzo rmariuzzo self-assigned this Jul 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant