docs(Swipe): add tips of custom size in loop mode (#5057)
This commit is contained in:
+4
-2
@@ -49,7 +49,7 @@ export default {
|
||||
}
|
||||
```
|
||||
|
||||
### change event
|
||||
### Change Event
|
||||
|
||||
```html
|
||||
<van-swipe @change="onChange">
|
||||
@@ -81,7 +81,7 @@ export default {
|
||||
</van-swipe>
|
||||
```
|
||||
|
||||
### Set Swiper Item Size
|
||||
### Set SwipeItem Size
|
||||
|
||||
```html
|
||||
<van-swipe :loop="false" :width="300">
|
||||
@@ -92,6 +92,8 @@ export default {
|
||||
</van-swipe>
|
||||
```
|
||||
|
||||
> It's not supported to set SwipeItem size in the loop mode
|
||||
|
||||
### Custom Indicator
|
||||
|
||||
```html
|
||||
|
||||
Reference in New Issue
Block a user