From c87eba44ca5d16f488836f973e0ade048a3711d9 Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Wed, 17 May 2023 01:35:31 +0800 Subject: [PATCH] docs(tabs): vertical --- src/tabs/demos/enUS/index.demo-entry.md | 7 ++++--- src/tabs/demos/zhCN/index.demo-entry.md | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/tabs/demos/enUS/index.demo-entry.md b/src/tabs/demos/enUS/index.demo-entry.md index 3b8510d6784..0822a5a63ac 100644 --- a/src/tabs/demos/enUS/index.demo-entry.md +++ b/src/tabs/demos/enUS/index.demo-entry.md @@ -30,9 +30,9 @@ position-debug.vue ### Tabs Props | Name | Type | Default | Description | Version | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | --- | --- | --- | --- | | addable | `boolean \| { disabled?: boolean }` | `false` | Whether to allow add tag. Only works when the tag's `type` is `card`. | | -| animated | `boolean` | `false` | Whether to activate tab switching animation. | 2.27.0 | +| animated | `boolean` | `false` | Whether to activate tab switching animation. It won't have effect if `placement` is `'left'` or `'right'`. | 2.27.0 | | bar-width | `number` | `undefined` | The width of the tab bar. | 2.25.0 | | closable | `boolean` | `false` | Whether to allow the tag to be closed. Only works when the tag's `type` is `card`. | | | default-value | `string \| number` | `undefined` | Default value in uncontrolled mode. | | @@ -40,8 +40,9 @@ position-debug.vue | size | `'small' \| 'medium' \| 'large'` | `'medium'` | Size of tabs. | | | pane-class | `string` | `undefined` | Class of the pane. | | | pane-style | `string \| object` | `undefined` | Style of the pane. | | -| pane-wrapper-class | `string` | `undefined` | Class of the pane warpper. | NEXT_VERSION | +| pane-wrapper-class | `string` | `undefined` | Class of the pane warpper. | NEXT_VERSION | | pane-wrapper-style | `string \| object` | `undefined` | Style of the pane warpper. | NEXT_VERSION | +| placement | `'left' | 'right' | 'top' | 'bottom'` | `'top'` | Placement of tabs. | NEXT_VERSION | | tab-style | `string \| object` | `undefined` | Style of the tab. | | | tabs-padding | `number` | `0` | Left & right `padding` of the group of tabs. | | | trigger | `'click' \| 'hover'` | `'click'` | Trigger of activating a tab | 2.27.0 | diff --git a/src/tabs/demos/zhCN/index.demo-entry.md b/src/tabs/demos/zhCN/index.demo-entry.md index 2f625373033..3aa26d8e8e8 100644 --- a/src/tabs/demos/zhCN/index.demo-entry.md +++ b/src/tabs/demos/zhCN/index.demo-entry.md @@ -37,9 +37,9 @@ position-debug.vue ### Tabs Props | 名称 | 类型 | 默认值 | 说明 | 版本 | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | --- | --- | --- | --- | | addable | `boolean \| { disabled?: boolean }` | `false` | 是否允许添加标签,只在标签的 `type` 为 `card` 时生效 | | -| animated | `boolean` | `false` | 标签页切换是否使用动画 | 2.27.0 | +| animated | `boolean` | `false` | 标签页切换是否使用动画,当 `placement` 为 `'left'` 或 `'right'` 时不生效 | 2.27.0 | | bar-width | `number` | `undefined` | 标签条的宽度 | 2.25.0 | | closable | `boolean` | `false` | 是否允许关闭标签,只在标签的 `type` 为 `card` 时生效 | | | default-value | `string \| number` | `undefined` | 非受控模式下的默认值 | | @@ -49,6 +49,7 @@ position-debug.vue | pane-style | `string \| object` | `undefined` | 面板的样式 | | | pane-wrapper-class | `string` | `undefined` | 面板容器的类名 | NEXT_VERSION | | pane-wrapper-style | `string \| object` | `undefined` | 面板容器的样式 | NEXT_VERSION | +| placement | `'left' | 'right' | 'top' | 'bottom'` | `'top'` | 标签的位置 | NEXT_VERSION | | tab-style | `string \| object` | `undefined` | 标签的样式 | | | tabs-padding | `number` | `0` | 全部标签最左和最右的 `padding` | | | trigger | `'click' \| 'hover'` | `'click'` | 触发 tab 的方式 | 2.27.0 |