Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
{Update Documentation.md}
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 11, 2021
1 parent 0b30d2e commit 0103ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ Builds a trial with a onscreen message, optional buttons and optional photodiode
| config.USE_MTURK | <code>boolean</code> | USE_MTURK flag |
| options | <code>Object</code> | |
| options.responseType | <code>string</code> | This tells jsPsych which plugin file to use to run the trial. (default: 'html_keyboard_response') |
| options.duration | <code>number</code> | trial duration in milliseconds. (default: 1000) |
| options.duration | <code>number</code> | trial duration in milliseconds, only to be specified if the options.responseType is html_keyboard_response. (default: 1000, if options.responseType === html_keyboard_response, otherwise ignored) |
| options.stimulus | <code>string</code> | Onscreen stimulus in HTML to be shown in the trial, if not set default text is empty. If the stimulus is not provided, message should be provided as a string. (default: "") |
| options.message | <code>string</code> | Onscreen message to be shown in the trial. (default: "") |
| options.onstart | <code>boolean</code> | True if the message is to be display on start of the trial. False if the message needs to be in the stimulus.(default: false) |
| options.responseEndsTrial | <code>boolean</code> | True if the trial ends on response,false if the trial waits for the duration. (default: false) |
| options.taskCode | <code>number</code> | Task code to be saved into data log (default: 1) |
| options.numBlinks | <code>number</code> | Number of times the pulse needs to be repeated for photodiode box, when USE_PHOTODIODE is set true. (default: 1) |
| options.buttons | <code>Array</code> | This array contains the keys that the subject is allowed to press in order to respond to the stimulus. Keys can be specified as their numeric key code or as characters (e.g., 'a', 'q'). The default value of jsPsych.ALL_KEYS means that all keys will be accepted as valid responses. Specifying jsPsych.NO_KEYS will mean that no responses are allowed. (default: ["OK"]) |
| options.buttons | <code>Array</code> | This array contains the keys that the subject is allowed to press in order to respond to the stimulus. Keys can be specified as their numeric key code or as characters (e.g., 'a', 'q'). The default value of jsPsych.ALL_KEYS means that all keys will be accepted as valid responses. Specifying jsPsych.NO_KEYS will mean that no responses are allowed. Only to be specified if the options.responseType is html_button_response (default: ["OK"], if options.responseType === html_button_response, otherwise ignored) |

<a name="module_userId"></a>

Expand Down

0 comments on commit 0103ff2

Please sign in to comment.