File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ For best accessibility, `cdkTreeNodeToggle` should be on a button element and ha
147
147
148
148
#### Padding (Flat tree only)
149
149
150
- #### 填充 (仅限扁平树)
150
+ #### 衬距 (仅限扁平树)
151
151
152
152
The cdkTreeNodePadding can be placed in a flat tree's node template to display the level
153
153
information of a flat tree node.
@@ -163,7 +163,7 @@ information of a flat tree node.
163
163
Nested tree does not need this padding since padding can be easily added to the hierarchy structure
164
164
in DOM.
165
165
166
- 嵌套树不需要这种填充 ,因为 ` padding ` 可以很容易地添加到 DOM 中的层次结构上。
166
+ 嵌套树不需要这种衬距 ,因为 ` padding ` 可以很容易地添加到 DOM 中的层次结构上。
167
167
168
168
#### Conditional template
169
169
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER = {
66
66
/**
67
67
* Default top padding of the menu panel.
68
68
*
69
- * 菜单面板的默认顶部填充 。
69
+ * 菜单面板的默认顶部衬距 。
70
70
*
71
71
*/
72
72
export const MENU_PANEL_TOP_PADDING = 8 ;
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ Additional features can be built on top of the tree by adding behavior inside no
82
82
(e.g., padding and toggle). Interactions that affect the
83
83
rendered data (such as expand/collapse) should be propagated through the table's data source.
84
84
85
- ` <mat-tree> ` 本身只关心树形结构的渲染工作。通过在节点模板内添加行为(比如填充 ` padding ` 和切换 ` toggle ` ),可以在标准树的基础上构建附加功能。
85
+ ` <mat-tree> ` 本身只关心树形结构的渲染工作。通过在节点模板内添加行为(比如衬距 ` padding ` 和切换 ` toggle ` ),可以在标准树的基础上构建附加功能。
86
86
那些能影响渲染数据的交互(比如展开/折叠)应该能通过表格的数据源进行传播。
87
87
88
88
### TreeControl
@@ -117,7 +117,7 @@ The toggle can be placed anywhere in the tree node, and is only toggled by `clic
117
117
118
118
### Padding (Flat tree only)
119
119
120
- ### 填充 (只对扁平树)
120
+ ### 衬距 (只对扁平树)
121
121
122
122
The ` matTreeNodePadding ` can be placed in a flat tree's node template to display the ` level `
123
123
information of a flat tree node.
@@ -127,7 +127,7 @@ information of a flat tree node.
127
127
Nested tree does not need this padding since padding can be easily added to the hierarchy
128
128
structure in DOM.
129
129
130
- 嵌套树不需要进行填充 ,因为 DOM 中的层次结构就能很容易地加上它。
130
+ 嵌套树不需要进行衬距 ,因为 DOM 中的层次结构就能很容易地加上它。
131
131
132
132
### Accessibility
133
133
You can’t perform that action at this time.
0 commit comments