This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Robin Fox
Posted Jul 18 - Read on Facebook

Hi everyone! Does anyone have a simple example of a header carousel that's navigable using your keyboard? I'm having a hard time trying to figure out how to make it myself.

2 Comments

Derek Nguyen

Framer Events doesn't cover keyboard, but you can make one with
`document.addEventListener 'keydown', (e) -> ...`
I make a quick example here: https://framer.cloud/BIpmg/3/index.html?cloud=1

You can download the code at https://framer.cloud/BIpmg

Edit: you can also use `keyup` if you want the event to fire after user lifts their finger up

Robin Fox

Wow, thanks for the prototype Derek Nguyen. I'll try it out!

Read the entire post on Facebook