code: function( timeout ) {
          if ( timeoutHandle ) {
              clearTimeout( timeoutHandle );
          }
  
          if ( timeout > 0 ) {
              timeoutHandle = setTimeout( function() { api.next(); }, timeout * 1000 );
          }
          setButtonText();
      }
docs: Set timeout after which we move to next() step.