Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Jan 2, 2024
1 parent fbe8a09 commit 691c87b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions src/packages/__VUE/tabs/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ app.use(TabPane);

> demo: tabs smile
### Title 左对齐
### Title Align to Left v4.2.7

> demo: tabs left-align
Expand Down Expand Up @@ -75,8 +75,7 @@ app.use(TabPane);
| auto-height | Automatic height. When set to `true`, `nut-tabs` and `nut-tabs__content` will change with the height of the current `nut-tab-pane`. | boolean | `false` |
| sticky | Whether to use sticky mode | boolean | `false` |
| top | Sticky offset top | number | `0` |
| name | In the `taro` environment, `name` must be set to enable the automatic scrolling function of the title bar. | string | '' |
| align | Title alignment in the horizontal axis direction, optional values `left` `center` | string | `center` |
| align `v4.2.7` | Title alignment in the horizontal axis direction, optional values `left` `center` | string | `center` |

### Tabs Slots

Expand Down
5 changes: 2 additions & 3 deletions src/packages/__VUE/tabs/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ app.use(TabPane);

> demo: tabs smile
### Title 左对齐
### Title 左对齐 v4.2.7

> demo: tabs left-align
Expand Down Expand Up @@ -75,8 +75,7 @@ app.use(TabPane);
| auto-height | 自动高度。设置为 true 时,nut-tabs 和 nut-tabs\_\_content 会随着当前 nut-tab-pane 的高度而发生变化。 | boolean | `false` |
| sticky | 是否使用粘性布局 | boolean | `false` |
| top | 粘性布局下的吸顶距离 | number | `0` |
| name |`taro`环境下,必须设置`name`以开启标题栏自动滚动功能。 | string | '' |
| align | 横轴方向的标题对齐方式,可选值 left、center | string | `center` |
| align `v4.2.7` | 横轴方向的标题对齐方式,可选值 left、center | string | `center` |

### Tabs Slots

Expand Down
4 changes: 2 additions & 2 deletions src/packages/__VUE/tabs/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ app.use(TabPane);

> demo: tabs smile nav
### Title 左对齐
### Title 左对齐 v4.2.7

> demo: tabs left-align nav
Expand Down Expand Up @@ -74,7 +74,7 @@ app.use(TabPane);
| size | 标签栏字体尺寸大小 可选值 large normal small | string | `normal` |
| auto-height | 自动高度。设置为 true 时,nut-tabs 和 nut-tabs\_\_content 会随着当前 nut-tab-pane 的高度而发生变化。 | boolean | `false` |
| name `v4.2.5 废弃` | 必须设置 name 才能开启 title-scroll 功能,版本 >=4.2.5 时不再需要。 | string | '' |
| align | 横轴方向的标题对齐方式,可选值 left、center | string | `center` |
| align `v4.2.7` | 横轴方向的标题对齐方式,可选值 left、center | string | `center` |

### Tabs Slots

Expand Down

0 comments on commit 691c87b

Please sign in to comment.