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

Allow for custom checkbox and expand icon components by passing through their required actions in the block yield. #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jul 25, 2019

  1. Added support for custom checkbox and expand icons by passing require…

    …d actions through the block yield hash.
    
    Example:
    {{#x-tree model=tree checkable=true recursiveCheck=true as |node|}}
        <span class="node-checkbox {{if node.model.isChecked 'checked'}}" onclick={{action node.toggleCheck}}></span>
        <span class="branch-toggle {{if node.model.isExpanded 'open'}}" {{action node.toggleExpand}}></span>
        {{node.model.name}}
    {{/x-tree}}
    Technowl committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    dfee3d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    968e997 View commit details
    Browse the repository at this point in the history
  3. Update x-tree-node.hbs

    Fixed linting issues
    williamhector authored Jul 25, 2019
    Configuration menu
    Copy the full SHA
    9372671 View commit details
    Browse the repository at this point in the history