Can you consider adding more keyboard code event ? #3957
Closed
joffreypersia
started this conversation in
4. General
Replies: 2 comments
-
@joffreypersia they should already work. See https://alpinejs.dev/directives/on#keyboard-events |
Beta Was this translation helpful? Give feedback.
0 replies
-
You're right @joshhanley ! Sorry I missed the line "You can directly use any valid key names exposed via KeyboardEvent.key as modifiers by converting them to kebab-case." |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Keyboard events like "backspace" or letters can be interesting to listen to because we are building an app with many shortcuts.
I would love to be able to use something like
I built it with vanilla JS today, but adding support to regular naming keys would be excellent.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions