Swiper frame, how to make it automatic rotation

let swiper = new Swiper(‘.swiper-container’, {

SlidesPerView: 4, spaceBetween: 10, loop: true, /* Add this, speed: 1000; Adjust speed * / -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- the autoplay: {autoplayDisableOnInteraction: false }, ------------------------------------------ pagination: { el: '.swiper-pagination', clickable: true, }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, });Copy the code