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 keyboard navigation #25

Closed
wants to merge 1 commit into from
Closed

Add keyboard navigation #25

wants to merge 1 commit into from

Conversation

cdebost
Copy link
Contributor

@cdebost cdebost commented Aug 27, 2014

Uses left and down arrow to select the previous movie, right and up arrow to select the next.

@@ -6,6 +6,8 @@ exports.Moviestrip = Component.specialize({
constructor: {
value: function Moviestrip () {
this.super();

this.application.addEventListener("keydown", this, false);
Copy link
Contributor

Choose a reason for hiding this comment

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

@cdebost Thanks, but maybe we could use our KeyComposer here :). Please, find an exemple here: https://github.com/montagejs/montage/blob/master/ui/base/abstract-number-field.js#L59

@cdebost
Copy link
Contributor Author

cdebost commented Jun 5, 2015

Hmm.. keyPress events are never fired in my Chrome (Windows 8.1 and OSX)

@thibaultzanini
Copy link
Contributor

@cdebost Thanks I'll take a look at that.

@cdebost cdebost mentioned this pull request Jun 19, 2015
@cdebost cdebost closed this Jun 19, 2015
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