Answer the question
In order to leave comments, you need to log in
How to customize buttons in vue-tiny-slider slider?
I can't figure out how to customize the buttons (left, right) in this vue-tiny-slider.
I did it, but everything breaks
<tiny-slider
:mouse-drag="true"
:loop="true"
items="4"
gutter="10"
:nav="false"
:prev-button="<div class='button'>назад</div>" // вот тут хз как правильно
>
тут слайды
</tiny-slider>
Answer the question
In order to leave comments, you need to log in
:prev-button="prevButton"
...
...
computed: {
prevButton() {
return "<div class='button'>назад</div>"
}
}
Create
And pass the selector here<div class="btn"><div>
prev-button=".btn"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question