Created
July 31, 2016 00:36
-
-
Save matthieu-D/57b81a386e6e621d8d78e1ad17a36252 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hasChevronDown(child){ | |
return child.subNodes.length != 0 && child.expanded | |
} | |
hasChevronRight(child) { | |
return child.subNodes.length != 0 && !child.expanded | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment