@click.away for the tabs example - Does not work #524
jenstornell
started this conversation in
4. General
Replies: 1 comment
-
Your expression in the click away handler is not assigning a new value, should be |
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
-
https://jsfiddle.net/xqpwu9Le/
I'm a newbie with Alpine. I use the tabs example and it has worked out well so far but I don't get how the
@click.away
part work.I guess it's a really simple mistake?
html
css
Expected results
If I click outside the tab area or in a place where there is no tab, the open tab closes.
Beta Was this translation helpful? Give feedback.
All reactions