Skip to content

Commit

Permalink
md: 文档修改
Browse files Browse the repository at this point in the history
  • Loading branch information
heikaimu committed Oct 27, 2023
1 parent 081a72c commit 5bdad04
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,21 @@ const waterfall = ref(null)
waterfall.value.renderer()
```

`breakpoints`
`breakpoints`默认值,当此属性生效时,width失效
```javascript
breakpoints: {
1200: { //当屏幕宽度小于等于1200
rowPerView: 4,
},
800: { //当屏幕宽度小于等于800
1200: {
// when wrapper width < 1200
rowPerView: 3,
},
500: { //当屏幕宽度小于等于500
800: {
// when wrapper width < 800
rowPerView: 2,
}
},
500: {
// when wrapper width < 500
rowPerView: 1,
},
}
```

Expand Down

0 comments on commit 5bdad04

Please sign in to comment.