salix/front/core/components/treeview/childs.html

11 lines
338 B
HTML

<ul ng-if="$ctrl.items">
<li ng-repeat="item in $ctrl.items">
<vn-treeview-child item="item" ng-class="{expanded: item.active}"
ng-click="$ctrl.treeview.onToggle($event, item)">
</vn-treeview-child>
<vn-treeview-childs
items="item.childs">
</vn-treeview-childs>
</li>
</ul>