Skip to content
This repository was archived by the owner on Sep 11, 2018. It is now read-only.

Keyboard navigation

Latest

Choose a tag to compare

@ludo237 ludo237 released this 18 Feb 08:02
· 1 commit to master since this release

This new minor version brings a well requested feature: Keyboard navigation!

To be fair this is the first attempt to it, basically the theatre now has a new keyboard event listener attached to it when it's first created.

This allow us to intercept every key stroke (on key up to be precise) and check whenever the user press the right arrow, left arrow or the escape button.

I've also update the package.json file to fix an issue addressed by @wenxin3262, more detail on #10. Now the carousel accepts every node version from v6.9.0 and above.