File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed
material/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__ Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 12
12
[style.display] ="shouldRender(node) ? 'flex' : 'none' "
13
13
class ="example-tree-node ">
14
14
< button mat-icon-button cdkTreeNodeToggle
15
- [attr.aria-label] ="'toggle ' + node.filename "
15
+ [attr.aria-label] ="'Toggle ' + node.name "
16
16
(click) ="node.isExpanded = !node.isExpanded "
17
17
[style.visibility] ="node.expandable ? 'visible' : 'hidden' ">
18
18
< mat-icon class ="mat-icon-rtl-mirror ">
Original file line number Diff line number Diff line change 7
7
</ cdk-nested-tree-node >
8
8
<!-- This is the tree node template for expandable nodes -->
9
9
< cdk-nested-tree-node *cdkTreeNodeDef ="let node; when: hasChild " class ="example-tree-node ">
10
- < button mat-icon-button [attr.aria-label] ="'toggle ' + node.name " cdkTreeNodeToggle >
10
+ < button mat-icon-button [attr.aria-label] ="'Toggle ' + node.name " cdkTreeNodeToggle >
11
11
< mat-icon class ="mat-icon-rtl-mirror ">
12
12
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}
13
13
</ mat-icon >
Original file line number Diff line number Diff line change 17
17
18
18
< mat-tree-node *matTreeNodeDef ="let node; when: hasChild " matTreeNodePadding >
19
19
< button mat-icon-button matTreeNodeToggle
20
- [attr.aria-label] ="'toggle ' + node.filename ">
20
+ [attr.aria-label] ="'Toggle ' + node.item ">
21
21
< mat-icon class ="mat-icon-rtl-mirror ">
22
22
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}
23
23
</ mat-icon >
Original file line number Diff line number Diff line change 5
5
</ mat-tree-node >
6
6
< mat-tree-node *matTreeNodeDef ="let node; when: hasChild " matTreeNodePadding >
7
7
< button mat-icon-button
8
- [attr.aria-label] ="'toggle ' + node.filename " matTreeNodeToggle >
8
+ [attr.aria-label] ="'Toggle ' + node.item " matTreeNodeToggle >
9
9
< mat-icon class ="mat-icon-rtl-mirror ">
10
10
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}
11
11
</ mat-icon >
Original file line number Diff line number Diff line change 8
8
<!-- This is the tree node template for expandable nodes -->
9
9
< mat-tree-node *matTreeNodeDef ="let node;when: hasChild " matTreeNodePadding >
10
10
< button mat-icon-button matTreeNodeToggle
11
- [attr.aria-label] ="'toggle ' + node.name ">
11
+ [attr.aria-label] ="'Toggle ' + node.name ">
12
12
< mat-icon class ="mat-icon-rtl-mirror ">
13
13
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}
14
14
</ mat-icon >
Original file line number Diff line number Diff line change 8
8
<!-- expandable node -->
9
9
< mat-tree-node *matTreeNodeDef ="let node; when: hasChild " matTreeNodePadding >
10
10
< button mat-icon-button
11
- [attr.aria-label] ="'toggle ' + node.filename "
11
+ [attr.aria-label] ="'Toggle ' + node.item "
12
12
(click) ="loadChildren(node) "
13
13
matTreeNodeToggle >
14
14
< mat-icon class ="mat-icon-rtl-mirror ">
Original file line number Diff line number Diff line change 12
12
< li >
13
13
< div class ="mat-tree-node ">
14
14
< button mat-icon-button matTreeNodeToggle
15
- [attr.aria-label] ="'toggle ' + node.name ">
15
+ [attr.aria-label] ="'Toggle ' + node.name ">
16
16
< mat-icon class ="mat-icon-rtl-mirror ">
17
17
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}
18
18
</ mat-icon >
Original file line number Diff line number Diff line change 9
9
10
10
<mat-tree-node *matTreeNodeDef="let node; when: hasChild" matTreeNodePadding>
11
11
<button mat-icon-button matTreeNodeToggle
12
- [attr.aria-label]="'toggle ' + node.name">
12
+ [attr.aria-label]="'Toggle ' + node.name">
13
13
<mat-icon class="mat-icon-rtl-mirror">
14
14
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}
15
15
</mat-icon>
You can’t perform that action at this time.
0 commit comments