ssv/ssv/static/js/source/ssv_controls.es6
// Function to auto update elements based on current x_series position and selected play speed
Function to auto update elements based on current x_series position and selected play speed
Function to auto update elements based on current x_series position and selected play speed
x_series_forward() {
        var self = this;
        window.setTimeout(function() {
            if (self.play_enabled && self.current_x < self.x_series.length - 1) {
                self.target_x = self.current_x + 1;
                self.move(250);
                if (self.current_x < self.x_series.length - 1) {
                    self.x_series_forward()
                } else {
                    self.play();
                }
            }
        }, 1000 / this.play_speed);
    }
x_series_forward ( ) { var self = this ; window . setTimeout ( function ( ) { if ( self . play_enabled && self . current_x < self . x_series . length - 1 ) { self . target_x = self . current_x + 1 ; self . move ( 250 ) ; if ( self . current_x < self . x_series . length - 1 ) { self . x_series_forward ( ) } else { self . play ( ) ; } } } , 1000 / this . play_speed ) ; }
Function to auto update elements based on current x_series position and selected play speed
Function to auto update elements based on current x_series position and selected play speed