How to embed javascript into streamlit?

@BeyondMyself @andfanilo

FYI, I extended the ideas in that post to make the initialization and eventing mechanisms more explicit. To demo that I implemented a simple toggle button component. Much of the JS part is easily re-useable as scaffolding in your own components.

GitHub - asehmi/streamlit-toggle-buttons-component: Pure static HTML/JS Streamlit component toggle button implementation

5 Likes