mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-21 01:13:16 +08:00
docs(n-scrollbar): add size prop. (#4785)
Co-authored-by: lijiaheng <lijiaheng@semi-tech.com>
This commit is contained in:
parent
c3f05b2a48
commit
673e80b059
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user