-
I'm trying to encapsulate an custom event in Alpine.data () but it doesn't fire. It only fires if it is in the attribute:
|
Beta Was this translation helpful? Give feedback.
Answered by
SimoTod
Oct 15, 2021
Replies: 1 comment
-
You are not using x-bind, you are just declaring a property called |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kcap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are not using x-bind, you are just declaring a property called
@custom-event.window
in x-data which is different from a directive