Replies: 2 comments 2 replies
-
Hi @sankalp35, I think the slider should be controllable with arrow keys if the slider element is focused. You might be able to add this code to the on_load: function(){
document.querySelector('input').focus();
} I haven't tested this yet. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Solved it by adding the following code to the plugin:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I am trying to use my online jsPsych task to be suitable to use in an MRI scanner. Migrating most modules have been straightforward, except the slider responses. I do not think there is a simple way to use let's say the arrow keys for sliding left or right? Could you suggest the best way might be to go about making the slider responsive to the keyboard? Would modifying the plugin be the best option, or creating a separate html-keyboard-response screen would be quickest? I'm using v6.3
Best
Beta Was this translation helpful? Give feedback.
All reactions