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

Add up and down keys #5

Merged
merged 1 commit into from May 20, 2021

Conversation

kunukn
Copy link
Contributor

@kunukn kunukn commented May 20, 2021

I have a use case where I want to use the up and down keys for the previous and next focus.

API usage example

rovingIndex({
  element: document.querySelector('#vertical-accordions'),
  target: '.toggle'
})

Copy link
Owner

@argyleink argyleink left a comment

Choose a reason for hiding this comment

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

YES. this is perfect, ty 💯

@argyleink argyleink merged commit eb60aca into argyleink:main May 20, 2021
@argyleink
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants