-
Notifications
You must be signed in to change notification settings - Fork 13
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
Calling $ajax from code outside of Alpine.js #54
Comments
Yeah it’s technically possible with some refactoring…The API would have to change a little bit to fill in the missing context that Alpine provides. |
I solved this now by fire a custom event, and an alpine component is reacting to this… 😆 |
And, btw: Great plugin with a very nice website! |
Nice! Events FTW |
I'm going to close this out since the immediate issue is solve, however I'll still consider generalizing some of the internals. I could see that happening as we get closer to a v1 release. |
Currently it is not possible to call the
$ajax
functions outside of Alpine.jsWould it technically be possible to have exported theese functions so that they will be usable outside of Alpine.js?
The text was updated successfully, but these errors were encountered: