docs(slider): format tooltip

This commit is contained in:
07akioni 2021-07-22 23:41:27 +08:00
parent 9ae9db50cc
commit 16b8ae2ed3
4 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# Format Tooltip
```html
<n-slider
v-model:value="value"
:step="10"
:format-tooltip="value => `${value}%`"
/>
```

View File

@ -9,6 +9,7 @@ basic
range
mark
disable-tooltip
format
```
## API

View File

@ -0,0 +1,9 @@
# 格式化弹出提示
```html
<n-slider
v-model:value="value"
:step="10"
:format-tooltip="value => `${value}%`"
/>
```

View File

@ -9,6 +9,7 @@ basic
range
mark
disable-tooltip
format
```
## API