-
DescriptionI want to create a slider with coressponding svg that is being updated according to the slider value. I think it should work, but for some reason the image is not being updated. Any ideas? I made a reproducible example (code included): When I run the chunck on interactive session, everything seems to work well 2025-04-22.124331.mp4Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I assume your code require the Python code to be executed which can happen when interactive but how do you expect the computation to happen from a static HTML file (without any Python server behind to compute the changes)? |
Beta Was this translation helpful? Give feedback.
Shiny😅 either with a server or using WASM.
Or use Observable.js and pre-rendered Python results.
Like produce an object that holds your SVG, send it to Observable.js. Code the interactivity in Observable.js code cells.
For short, read the "interactivity" guide on https://quarto.org/