Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

Added Root Options #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elizabeth-young
Copy link

Added options for expanding the root and displaying the the root label

Added options for expanding the root and displaying the the root label
@Lapple
Copy link
Owner

Lapple commented Dec 4, 2015

Hi, thank you for the contribution! Looking at the diff, there are a few non-critical things that I'd like to discuss.


#### props.rootExpanded

Optional boolean to expand the root object. Defaults to true.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this option, since there already exists a isExpanded predicate, I would like to rework it to be applied to root node as well. What do you think?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

That sounds great. It didn't occur to me to update the existing isExpanded predicate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants