Event inside component not working #3943
Closed
britisharmy
started this conversation in
General
Replies: 2 comments 1 reply
-
I copy/pasted your code to the Lit Playground, removed Swal as it's not actually an ES module, and replaced it with |
Beta Was this translation helpful? Give feedback.
1 reply
-
I fixed it this way
and this is how i am using it
and it works |
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
-
I have an element with a checkbox inside my lit component. I want to trigger a sweetalert on click.
However, when i display my component
Checkbox click/change do not trigger opening of sweetalert. Not even an alert or console log shows up when i include that inside function handling click event.
What could be wrong.
Beta Was this translation helpful? Give feedback.
All reactions