Skip to content

Commit

Permalink
docs(tabs): vertical
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed May 16, 2023
1 parent 111209e commit c87eba4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/tabs/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,19 @@ 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. | |
| justify-content | `'space-between' \| 'space-around' \| 'space-evenly' \| 'start' \| 'center' \| 'end'` | `undefined` | Justify-content value of `flex` layout. Only works with `'line'` or `'bar'` typed tabs. | `space-*` 2.29.1 |
| 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 |
Expand Down
5 changes: 3 additions & 2 deletions src/tabs/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` | 非受控模式下的默认值 | |
Expand All @@ -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 |
Expand Down

0 comments on commit c87eba4

Please sign in to comment.