mirror of
https://github.com/nasa/openmct.git
synced 2025-01-24 21:37:15 +00:00
2b1fdc2204
Add specs for controllers in the commonUI/general bundle. WTD-574.
27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
<span ng-controller="ToggleController as toggle">
|
|
<span ng-controller="TreeNodeController as treeNode">
|
|
<span class="tree-item menus-to-left">
|
|
<span class='ui-symbol view-control'
|
|
ng-click="toggle.toggle(); treeNode.trackExpansion()"
|
|
ng-if="model.composition !== undefined">
|
|
{{toggle.isActive() ? "v" : ">"}}
|
|
</span>
|
|
<mct-representation key="'label'"
|
|
mct-object="domainObject"
|
|
parameters="parameters"
|
|
ng-click="parameters.callback(domainObject)"
|
|
ng-class="{selected: treeNode.isNavigated()}">
|
|
</mct-representation>
|
|
</span>
|
|
<span class="tree-item-subtree"
|
|
ng-show="toggle.isActive()"
|
|
ng-if="model.composition !== undefined">
|
|
|
|
<mct-representation key="'tree'"
|
|
parameters="parameters"
|
|
mct-object="treeNode.hasBeenExpanded() && domainObject">
|
|
</mct-representation>
|
|
|
|
</span>
|
|
</span>
|
|
</span> |