Friday, 15 May 2015

jquery - I tried including iDangerous Swiper in a project that uses Backbone.js with Marionette.js but it doesn't work -



jquery - I tried including iDangerous Swiper in a project that uses Backbone.js with Marionette.js but it doesn't work -

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 } }) }) })

above swiper code utilize idangerous swipe library, doesn't work. confuse add together code in case of marionette js construction ie model, view & controller.

have added swiper dependency in main.js? if needs jquery remember shim too.

jquery html backbone.js marionette

No comments:

Post a Comment