How to use Splide ttb slider without fixed height #1309
Unanswered
rosstislav
asked this question in
Q&A
Replies: 1 comment
-
Perhaps you can use maxHeight ,, check the docs that might help |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a vertical slider Splide. There is text inside each slide. The text may be different, so the fixed parameter "height": "5rem" is not suitable for me, but without it there is an error in the console. How can I solve this problem?
<div class="announcement-bar__slider splide" data-splide='{"drag": false, "type":"loop", "arrows": false, "pagination": false, "speed": 600, "direction": "ttb", "height": "5rem", "perPage": 1, "perMove": 1, "autoplay": true, "interval": 3500}'>
Beta Was this translation helpful? Give feedback.
All reactions