Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hallelujah - thanks for this library, how to force refresh? #8

Open
loveJesus opened this issue Jan 25, 2021 · 1 comment
Open

Hallelujah - thanks for this library, how to force refresh? #8

loveJesus opened this issue Jan 25, 2021 · 1 comment

Comments

@loveJesus
Copy link

God be praised, thank you as smithy is being quite a joy to work with now. However while implementing websockets, the way that my program is currently refreshing with incoming messages is by calling .click() on a div with an on_click handler and it seems there would be a more appropriate way. Trying to find something in the docs or examples and wasn't able to find it sorry. Thanks for your help, blessings unto Jesus in His name

@rbalicki2
Copy link
Owner

rbalicki2 commented Mar 13, 2021

Hi @loveJesus, thank you for the kind words!

Right now, there isn't really a good way to incorporate custom events like that. I want a future version of Smithy to support custom events, but unfortunately it's not something I'm actively working on now.

I think that triggering a click on a div is an appropriate workaround for the time being.

Good luck with your Smithy website! Please let me know if you run into other issues, I'd love to know what usability or other issues you run into.

EDIT: Oh, and I apologize about taking so long to notice this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants