Expose some functionality to global scope #110
Unanswered
KevinBatdorf
asked this question in
Ideas
Replies: 1 comment 1 reply
-
Some of the helpers only make sense inside alpine like $parent, $refresh and in general anything that touches the alpine component passed into the function. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From Discord:
I tend to agree. We don't have to document it heavily (maybe just a footnote).
Maybe
window.AlpineMagicHelpers.$post()
?I wonder if this would also work nicely:
Beta Was this translation helpful? Give feedback.
All reactions