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

Parameter to add a number showing the slider value in the html-slider-response plugin #1192

Open
gorkang opened this issue Nov 13, 2020 · 1 comment

Comments

@gorkang
Copy link

gorkang commented Nov 13, 2020

When using a slider response, sometimes it is important that the participant can see the exact value selected. In our research group, we are using a modified version of the jspsych-html-slider-response.js.

Using jsPsych-master I modified jspsych-html-slider-response.js to create a reproducible example with minimal changes: slider-plugin-number.zip

With slider_number: true

Screenshot from 2020-11-13 12-10-34

With slider_number: false

Screenshot from 2020-11-13 12-10-47

I would be happy to do a pull request if you think it could be useful.

@becky-gilbert
Copy link
Collaborator

Hi @gorkang, thanks for sharing this - looks great!

Would you mind putting the changes into a pull request please? In addition to the slider plugin file changes, it'd be great if you could include changes to the plugin documentation and example files. Thank you!

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

No branches or pull requests

3 participants