S
Solara4d ago
creon

Can a Solara app listen for a keypress?

Can a Solara app listen for a keypress? I'd like to make a keyboard shortcut for a toggle button
2 Replies
MaartenBreddels
it's not supported in solara itself, but an example can be found here https://py.cafe/maartenbreddels/solara-hotkeys
PyCafe - Solara - HotKey Event Handler with Dialog in Solara
Create & Share Streamlit, Dash and Python Apps Online.
MaartenBreddels
I hope that helps you

Did you find this page helpful?