☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

How to manipulate the javascript from bokeh's side (Ion range slider manipulating interval)

Community Support
Bryan
Bryan

You can see in the example code you linked, where the TypeScript extension code calls

jQuery(this.slider_el).ionRangeSlider(opts)

That is what creates and configures the actual Ion Range Slider object.

You will need to put whatever Ion Range Slider configuration options you want to use inside opts, in your own version of this code. What those configuration options are is a question specific to IonRangeSlider, however, not really a Bokeh question. As a guess, from your image, it might be that case that you just need to add drag_interval: true to opts. But again, that’s just a guess. For definitive answers to Ion Range Slider questions, the appropriate place is that project’s docs/tracker/forum.

⌁   Link to post
Bryan
Bryan

From that error "mixed indentation" my best guess is that you are mixing tabs and spaces and that the TypeScript compiler does not like that. AFAIK the linked code is all spaces, you you might configure your editor for soft-tabs, or else indent manually with the space bar.

⌁   Link to post

End of archived discussion · Replies are disabled