MAX | MIN range for Responsive screen
- Ngôn ngữ chính
- JavaScript
- Star
- 11.9k
- Fork
- 2.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi Team,
**Scenario:**
I am using react slick. I want to show 4slides for screen 1028px to 2560px. And above that I want to show 6slides.
**Question**
Is there any props for `min | max` responsive API? Page link [here](https://react-slick.neostack.com/docs/example/responsive)
**Findings**
```
responsive: [
{
breakpoint: 1027,
settings: {
slidesToShow: 2,
slidesToScroll: 2,
}
},
{
breakpoint: 2560,
settings: {
slidesToShow: 4,
slidesToScroll: 4,
}
},
{
breakpoint: **4000 (RANDOM NUMBER)**,
settings: {
slidesToShow: 6,
slidesToScroll: 6,
}
}
]
```
Here,
1. Below 1027 it will show **2slides** (i.e 0 to 1027)
2. Below 2560 it will show **4slides** (i.e 1028 to 2560)
3. Below 4000 it will show **4slides** (i.e 2561 to 4000)
So, Is there any min or max range in place of breakpoints?
Thanks in advance !!!
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.