Answer the question
In order to leave comments, you need to log in
Are there any out-of-the-box dropdown implementations in angular?
It is necessary that the list itself searches for nesting and displays them up to n in the template. That is superNested ng ripit. Are there ready-made solutions or invent a directive yourself
Answer the question
In order to leave comments, you need to log in
I beg you, what to invent that. Trivial recursive structure, tune it yourself
div ng-include="children_renderer.html"
script type="text/ng-template" id="children_renderer.html"
ul
li ng-repeat="node in node.children"
i ng-click="node.isHide=!node.isHide" ▼
span
| {{node.title}}
div ng-include="'children_renderer.html'" ng-hide="node.isHide"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question