jquery - jssor AutoPlay undefined -


i using autoplay value 14 correctly stops on last slide or on click , user navigation. want visually reflect whether slide show paying. unfortunately, expecting current status. suggestions?

jssor_1_slider.$on($jssorslider$.$evt_position_change,function(position, fromposition){     my_url_update(position, fromposition);     slidescount = jssor_1_slider.$slidescount();    //returns correct number     console.log('slidescount: ' +  slidescount);     myautoplay  = jssor_1_slider.$autoplay();    //get autoplay     console.log('autoplay : ' +  myautoplay ); // returns undefined  }); // evt_position_change 

use var define variable.

jssor_1_slider.$on($jssorslider$.$evt_position_change,function(position, fromposition){     my_url_update(position, fromposition);     var slidescount = jssor_1_slider.$slidescount();    //returns correct number     console.log('slidescount: ' +  slidescount);     var myautoplay  = jssor_1_slider.$autoplay();    //get autoplay     console.log('autoplay : ' +  myautoplay ); // returns undefined  }); // evt_position_change 

edit

it's bug, has been fixed.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -