timeslider
timeslider copied to clipboard
Change Cell Values after Initial
After initial a TImeslide its not possible to change the value or add Values $('#slider123').TimeSlider({ init_cells: [ {'_id': 'c1', 'start': '0', 'stop': 605999}, {'_id': 'c2', 'start': 6051000, 'stop': 6051000*2} ];})
$('#slider123').TimeSlider({ init_cells: [ {'_id': 'c1', 'start': '5000', 'stop': 605999}, // Move
];})
I also face the problem like you did, I want to keep timeslider always follow current time in the middle of the screen. But it seems like you must destroy old timeslider and create a new one, but I also still don't know how to destroy a timeslider?
Hi friend, I found solution for my problem, just you this:
_this.set_ruler_position( - _this.options.update_timestamp_interval * _this.px_per_ms);