Framework7 v2 Beta
Vladimir Kharlampidi
51720

Hi Vladimir,

var myApp = new Framework7();

var $$ = Dom7;

// Init slider and store its instance in mySwiper variable

var mySwiper = myApp.swiper(‘.swiper-container’, {
 pagination:’.swiper-pagination’,
 direction: ‘vertical’
 });

This is not working in v2, Getting error

myApp.swiper is not a function,

What is the correct syntax in v2?

thank you