How to use transition effect (JS) #5853
Answered
by
Arhell
aitormendez
asked this question in
Q&A
-
I am trying to use a transition effect. Do I need to import any modules for it to work? Just this doesn't work: import { Swiper, Navigation, Keyboard } from 'swiper';
Swiper.use([Navigation, Keyboard]);
var swiper = new Swiper(".swiper", {
effect: "flip",
flipEffect: {
slideShadows: true,
},
keyboard: {
enabled: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
}); |
Beta Was this translation helpful? Give feedback.
Answered by
Arhell
Jul 6, 2022
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
aitormendez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://swiperjs.com/swiper-api#custom-build