Is there a native way to hide navigation when there's nothing to slide? #5015
-
Situation is very simple. I have few elements that don't occupy container's space when on higher resolutions. So there's nothing to slide at that moment. On lower resolutions there's not enough space for them so the sliding is needed. When using navigation I'm getting both arrows and bullet in the first scenario when they aren't needed there. I know I could track events and to this "manually" but I wonder if there's a native solution for that. Like "Hide navigation when there's only one page" or something similar. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
watchOverflow
https://swiperjs.com/swiper-api#param-watchOverflow