javascript - How to disable swiper `next` button -


i'm using swiper. use wizard. i've divided form multiple steps. because of this, next button should enabled if have valid form. cannot find in documentation how this. current swiper config looks this

var myswiper = new swiper ('.swiper-container', {     // optional parameters     direction: 'horizontal',     loop: false,      // navigation arrows     nextbutton: '.swiper-button-next',     prevbutton: '.swiper-button-prev',      // , if need scrollbar     scrollbar: '.swiper-scrollbar',     allowswipetoprev: false,     allowswipetonext: false, }); 

any suggestions how enable/disable next button?


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -