docs(Swipe): add tips of custom size in loop mode (#5057)

This commit is contained in:
neverland
2019-11-20 17:18:58 +08:00
committed by GitHub
parent 1c03d5d3f3
commit f4b6b206a2
3 changed files with 15 additions and 24 deletions
+4 -2
View File
@@ -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