Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTable keyboard events #2851

Open
dshulzhenko opened this issue Dec 6, 2024 · 0 comments
Open

UTable keyboard events #2851

dshulzhenko opened this issue Dec 6, 2024 · 0 comments
Labels
enhancement New feature or request triage

Comments

@dshulzhenko
Copy link

dshulzhenko commented Dec 6, 2024

For what version of Nuxt UI are you suggesting this?

v2.x

Description

It would be great to be able to react to keyboard events in the table component, for example using the up and down keys to navigate and the space bar to select a row. Something like:

<UTable 
  ...
  @keyup.up="hoverPrevRow"
  @keyup.down="hoverNextRow"
  @keyup.space="selectRow"
  ...
/>

This will help users operate data tables more efficiently.

Additional context

No response

@dshulzhenko dshulzhenko added enhancement New feature or request triage labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant