jsPsych icon indicating copy to clipboard operation
jsPsych copied to clipboard

Docs "Overview: Progress bar" page is out-of-date

Open becky-gilbert opened this issue 1 year ago • 1 comments

The v8 "progress bar" docs page in the Overview section looks to be out of date. It says that you can manually update the progress bar like this:

jsPsych.progressBar.progress = 0.85;

But the reference page shows that this has been changed to setProgressBar, which takes the value as an argument, like this:

jsPsych.setProgressBar(0.85);

I assume the latter is correct.

becky-gilbert avatar Aug 26 '24 18:08 becky-gilbert

Actually I think it's the other way around. We updated to .progress in v8, so the setProgressBar method in reference should be removed. (I should double check this...)

jodeleeuw avatar Aug 28 '24 00:08 jodeleeuw