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

11 lines
338 B
HTML
Raw Permalink Normal View History

2019-10-02 07:54:52 +00:00
2019-10-02 12:12:17 +00:00
<ul ng-if="$ctrl.items">
2019-10-16 06:56:13 +00:00
<li ng-repeat="item in $ctrl.items">
<vn-treeview-child item="item" ng-class="{expanded: item.active}"
2019-10-24 08:17:32 +00:00
ng-click="$ctrl.treeview.onToggle($event, item)">
2019-10-16 06:56:13 +00:00
</vn-treeview-child>
2019-10-02 07:54:52 +00:00
<vn-treeview-childs
2019-10-16 06:56:13 +00:00
items="item.childs">
2019-10-02 07:54:52 +00:00
</vn-treeview-childs>
</li>
2019-10-02 12:12:17 +00:00
</ul>