나는이 코드를 사용하여 스와이퍼 슬라이더를 초기화하고 있습니다. 슬라이더가 페이지의 네번째 섹션 내부에 위치하여 페이지가 아래로 스크롤 한 후에 만 표시되어 있기 때문에스 와이퍼 슬라이더의 자동 재생은 슬라이더가 뷰포트에 들어간 후에 만 시작 하시겠습니까?
var mySwiper = new Swiper ('.swiper-container', {
// Optional parameters
pagination: '.swiper-pagination',
paginationClickable: true,
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
spaceBetween: 0,
parallax: true,
autoplay: 5000,
speed: 800,
autoplayDisableOnInteraction: false
})
는, I는 자동 실행 슬라이더가 뷰포트에 진입 한 후에 만 시작하고 싶다. 이렇게하는 방법이 있습니까?