Thank you so much. I was struggling with this all day
@fatiherol7464
Жыл бұрын
Nice tutorial, thanks. if you would like to put the buttons out of swiper container, you can simply add a ref on it and call it on any buttons onclick function, like swiperContainerRef.current.swiper.slideNext()
@nenlap_
Жыл бұрын
This worked like a charm. Thanks!
@MiteshPadariya-h1w
2 ай бұрын
Can we have the same solution with normal javascript and css? I am having trouble when slides per view is 3 or more.
@abdul_js
5 ай бұрын
and could you move your code even further away, it's just not very visible.
@davekozgaming3049
Жыл бұрын
BESTT BROOOO YOU ARE THEE BESTTTTTTTTTTTTTTTTTTTTTTTTTT
@VickyJaiswal-sy4ve
8 ай бұрын
The button is not working. Giving runtime error. How to resolve it?
@aliakbarzohour
2 ай бұрын
its very helpful . thanks
@VinodhK1992vk44
Жыл бұрын
Nice workaround! Thanks!
@revel-raza
9 ай бұрын
Buttons doesn't work but when I swipe the swiper then the btn started to work
@VickyJaiswal-sy4ve
8 ай бұрын
yes button is not working. giving error. any idea to resolve?
@matthewkk5087
10 ай бұрын
when its last or fist slide how can I hide it? im using tailwind. tell me any event please I am tired of looking for this :D
@yamillayicov7256
5 ай бұрын
Thank you so much.
@muzamilzaman7463
Жыл бұрын
What about carousel? ??
@jhazzpher17
10 ай бұрын
how do i remove the default navigation buttons?
@user-ml7yd7vz7r
8 ай бұрын
remove this navigation={true} or navigation={}
@therajuahammad
Жыл бұрын
I don't know why it doesn't work when I don't create separate component for Buttons
@therajuahammad
Жыл бұрын
@Mr. Shadrack How to design active button in separate component?
@mr.shadrack
Жыл бұрын
@@therajuahammad When you say active button, what do you mean by that?
@therajuahammad
Жыл бұрын
Active button means disabled button. When the first slide is active so I want a separate design prev button and also when the last slide is active I want to design the next button.
@mr.shadrack
Жыл бұрын
@rajuahammad4833 Alright, so there are different ways to do that. You can use 1. swiper.activeIndex Or 2. You can use these properties swiper.isBeginning swiper.isEnd To check for first and last slides to be able to disable and enable buttons accordingly
@therajuahammad
Жыл бұрын
@@mr.shadrack swiper.isBeginning and swiper.isEnd value doesn't update on every slide. So on first render swiper.isBeginning is true so it right when I changed the slide it value doesn't update
@velocityd1254
Жыл бұрын
Nice! Thank u)
@TylerJusCodes
Жыл бұрын
how did you import swiper in typscript, the one that gives you access to Pagination and autplay
@mr.shadrack
Жыл бұрын
Are you having any issues importing?
@TylerJusCodes
Жыл бұрын
@@mr.shadrack yes, i get this error
@Jazz__Dev
8 ай бұрын
Thanks a lot
@rudneinascimento4431
Жыл бұрын
Thenk you!
@3arbi-Ritchie
Жыл бұрын
Thx bro !
@codiot
Жыл бұрын
thank you
@Alex-kc3mn
Жыл бұрын
Thanks you
@nandybhai97
Жыл бұрын
at least make the screen reader size larger, so hard to actually see, novice.
Пікірлер: 33