Skip to content

Commit

Permalink
docs(shortcuts): add example usage for arrow keys (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
brycecammo authored Oct 26, 2023
1 parent c5ce997 commit 68f024f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/content/1.getting-started/4.shortcuts.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ Examples of keys:
- `shift_e`: will trigger by hitting `Shift` and `E` at the same time on MacOS, Windows and Linux
- `?`: will trigger by hitting `?` on some keyboard layouts, or for example `Shift` and `/`, which results in `?` on US Mac keyboards
- `g-d`: will trigger by hitting `g` then `d` with a maximum delay of 800ms by default
- `arrowleft`: will trigger by hitting `` (also: `arrowright`, `arrowup`, `arrowdown`)

::callout{icon="i-heroicons-light-bulb"}
For a complete list of available shortcut keys, refer to the [`KeyboardEvent`](https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values) API docs. Note the `KeyboardEvent.key` has to be written in lowercase.
::

### `usingInput`

Expand Down

1 comment on commit 68f024f

@vercel
Copy link

@vercel vercel bot commented on 68f024f Oct 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-nuxt-js.vercel.app
ui-git-dev-nuxt-js.vercel.app
ui.nuxt.com

Please sign in to comment.