We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While it is possible to manually set the value to progress bar. If you need to increment the value, you need to do the following.
var progress_bar_width = $('#jspsych-progressbar-inner')[0].style.width.slice(0,-1); jsPsych.setProgressBar(progress_bar_width*0.01+0.02);
var progress_bar_width = $('#jspsych-progressbar-inner')[0].style.width.slice(0,-1);
jsPsych.setProgressBar(progress_bar_width*0.01+0.02);
It would be convenient for users if there is a method that returns the current value of progress bar.
The text was updated successfully, but these errors were encountered:
Agreed.
If you haven't manually altered the progress bar you can get the current value like this:
jsPsych.progress().percent_complete
Sorry, something went wrong.
add get of progress bar value (#538)
6a6d390
update progress bar docs #538
0c4080f
No branches or pull requests
While it is possible to manually set the value to progress bar. If you need to increment the value, you need to do the following.
var progress_bar_width = $('#jspsych-progressbar-inner')[0].style.width.slice(0,-1);
jsPsych.setProgressBar(progress_bar_width*0.01+0.02);
It would be convenient for users if there is a method that returns the current value of progress bar.
The text was updated successfully, but these errors were encountered: