-import gsap from "gsap";
import Swiper from 'swiper';
import {Navigation, Pagination, Manipulation} from 'swiper/modules';
import 'swiper/css/navigation';
$(slide).css({transform: 'rotate(' + angle + 'deg) translateY(' + top + 'px)', opacity: opacity});
},
- deg2rad: function (deg) {
- return deg * (Math.PI / 180);
- },
-
confirmTheMatch: function () {
let lastIndex = this.swiperTop.slides.length - 1
let index = this.swiperBottom.activeIndex
this.swiperBottomEl.find(".swiper-slide").get(index).remove()
this.swiperBottom.update()
-
if (this.swiperTop.activeIndex === lastIndex) {
this.switchMatchValidateButton()
return false;