Global key events #725
ju5t
started this conversation in
4. General
Replies: 1 comment 1 reply
-
@ju5t If you're listening for a global event, you'll need to use the |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to set a variable when '/' is pressed anywhere on a specific page to open a modal. I tried
on the root element where AlpineJS is initialised, but it didn't work. I also tried to switch it to
escape
instead ofslash
but that didn't trigger it either.Is this possible or do I want to do something that's not supported yet?
Beta Was this translation helpful? Give feedback.
All reactions