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
147147
148148#### Padding (Flat tree only)
149149
150- #### 填充 (仅限扁平树)
150+ #### 衬距 (仅限扁平树)
151151
152152The cdkTreeNodePadding can be placed in a flat tree's node template to display the level
153153information of a flat tree node.
@@ -163,7 +163,7 @@ information of a flat tree node.
163163Nested tree does not need this padding since padding can be easily added to the hierarchy structure
164164in DOM.
165165
166- 嵌套树不需要这种填充 ,因为 ` padding ` 可以很容易地添加到 DOM 中的层次结构上。
166+ 嵌套树不需要这种衬距 ,因为 ` padding ` 可以很容易地添加到 DOM 中的层次结构上。
167167
168168#### Conditional template
169169
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER = {
6666/**
6767 * Default top padding of the menu panel.
6868 *
69- * 菜单面板的默认顶部填充 。
69+ * 菜单面板的默认顶部衬距 。
7070 *
7171 */
7272export 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
8282(e.g., padding and toggle). Interactions that affect the
8383rendered data (such as expand/collapse) should be propagated through the table's data source.
8484
85- ` <mat-tree> ` 本身只关心树形结构的渲染工作。通过在节点模板内添加行为(比如填充 ` padding ` 和切换 ` toggle ` ),可以在标准树的基础上构建附加功能。
85+ ` <mat-tree> ` 本身只关心树形结构的渲染工作。通过在节点模板内添加行为(比如衬距 ` padding ` 和切换 ` toggle ` ),可以在标准树的基础上构建附加功能。
8686那些能影响渲染数据的交互(比如展开/折叠)应该能通过表格的数据源进行传播。
8787
8888### TreeControl
@@ -117,7 +117,7 @@ The toggle can be placed anywhere in the tree node, and is only toggled by `clic
117117
118118### Padding (Flat tree only)
119119
120- ### 填充 (只对扁平树)
120+ ### 衬距 (只对扁平树)
121121
122122The ` matTreeNodePadding ` can be placed in a flat tree's node template to display the ` level `
123123information of a flat tree node.
@@ -127,7 +127,7 @@ information of a flat tree node.
127127Nested tree does not need this padding since padding can be easily added to the hierarchy
128128structure in DOM.
129129
130- 嵌套树不需要进行填充 ,因为 DOM 中的层次结构就能很容易地加上它。
130+ 嵌套树不需要进行衬距 ,因为 DOM 中的层次结构就能很容易地加上它。
131131
132132### Accessibility
133133
You can’t perform that action at this time.
0 commit comments