0
jQuery(function(){
//Thumbs
$('.thumbs-cotnainer').each(function(){
$(this).swiper({
slidesPerView:'auto',
offsetPxBefore:25,
offsetPxAfter:10,
calculateHeight: true,
slidesPerView:'auto',
centeredSlides: true,
initialSlide:7,
loop:true,
tdFlow: {
rotate : 40,
stretch : -40,
depth: 10
}
})
})
})
위의 내용은 idangerous swipe 라이브러리에서 사용하는 스 와이프 코드이지만 작동하지 않습니다. 사실, Marionette Js 구조의 모델 즉, 모델 & 컨트롤러의 경우이 코드를 추가 할 위치를 혼동합니다.Backbone.js를 Marionette.js와 함께 사용하는 프로젝트에서 iDangerous Swiper를 포함 시키려고했지만 작동하지 않습니다.
예, require_main.js 파일에서 custom.js가 호출되어 종속성을 보여줍니다. – user3770669