WebSockets and Alpine JS - Getting data out of Alpine JS? #2242
Answered
by
danddanddand
noam-elbaz
asked this question in
1. Help
-
Hi all. I'm trying to send messages out of the context of Alpine JS to be picked up by the Websocket script. Something like this. Thanks.
|
Beta Was this translation helpful? Give feedback.
Answered by
danddanddand
Oct 20, 2021
Replies: 2 comments
-
Use a store and access it with Alpine.store |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
noam-elbaz
-
For anybody struggling with same issue, see this too: #2236 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use a store and access it with Alpine.store