mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
docs(slider): format tooltip
This commit is contained in:
parent
9ae9db50cc
commit
16b8ae2ed3
9
src/slider/demos/enUS/format.demo.md
Normal file
9
src/slider/demos/enUS/format.demo.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Format Tooltip
|
||||
|
||||
```html
|
||||
<n-slider
|
||||
v-model:value="value"
|
||||
:step="10"
|
||||
:format-tooltip="value => `${value}%`"
|
||||
/>
|
||||
```
|
@ -9,6 +9,7 @@ basic
|
||||
range
|
||||
mark
|
||||
disable-tooltip
|
||||
format
|
||||
```
|
||||
|
||||
## API
|
||||
|
9
src/slider/demos/zhCN/format.demo.md
Normal file
9
src/slider/demos/zhCN/format.demo.md
Normal file
@ -0,0 +1,9 @@
|
||||
# 格式化弹出提示
|
||||
|
||||
```html
|
||||
<n-slider
|
||||
v-model:value="value"
|
||||
:step="10"
|
||||
:format-tooltip="value => `${value}%`"
|
||||
/>
|
||||
```
|
@ -9,6 +9,7 @@ basic
|
||||
range
|
||||
mark
|
||||
disable-tooltip
|
||||
format
|
||||
```
|
||||
|
||||
## API
|
||||
|
Loading…
Reference in New Issue
Block a user