docs(n-scrollbar): add size prop. (#4785)

Co-authored-by: lijiaheng <lijiaheng@semi-tech.com>
This commit is contained in:
jahnli 2023-05-08 09:57:43 +08:00 committed by GitHub
parent c3f05b2a48
commit 673e80b059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ trigger.vue
| trigger | `'hover' \| 'none'` | `'hover'` | Trigger of show scrollbar. `'none'` means always show it. | 2.29.1 |
| x-scrollable | `boolean` | `false` | Whether it can scroll horizontally. | |
| on-scroll | `(e: Event) => void` | `undefined` | Callback on scroll | |
| size | `number` | `5` | Scrollbar size. | |
### Scrollbar Slots

View File

@ -20,6 +20,7 @@ rtl-debug.vue
| trigger | `'hover' \| 'none'` | `'hover'` | 显示滚动条的时机,`'none'` 表示一直显示 | 2.29.1 |
| x-scrollable | `boolean` | `false` | 是否可以横向滚动 | |
| on-scroll | `(e: Event) => void` | `undefined` | 滚动的回调 | |
| size | `number` | `5` | 滚动条的尺寸 | |
### Scrollbar Slots