Open bbest opened 3 years ago
From Use Shiny.setInputValue to register the clicking of SVG; regs_app/app.R
in https://github.com/mhk-env/mhk-env.github.io/commit/85db38dad526b86ef7afd60c9e2e207dd3211af5
Amazing! Clicking on red circle or blue square registers in Shiny ✨
We could use shiny::renderUI() to update either the SVG plot or drop-down lists based on element clicked.
Can use a "live" Google Drawing, which doesn't require any desktop software and is easy to edit.
Examples:
Test Google Drawing: edit, svg![image](https://user-images.githubusercontent.com/2837257/109886068-6637ab00-7c34-11eb-9a9e-bf23d0f3f36e.png)
Rendered "live" (edit drawing, refresh page, voila!) in this example regs_svg.html:![image](https://user-images.githubusercontent.com/2837257/109886466-f0800f00-7c34-11eb-9174-8d8cbe6041e9.png)