mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Update README.md
This commit is contained in:
parent
b77053cda4
commit
e5fae92814
@ -67,21 +67,24 @@ This is an example of the image-keyboard-response plugin:
|
|||||||
type: "image-keyboard-response",
|
type: "image-keyboard-response",
|
||||||
stimulus: 'img/happy_face_1.jpg',
|
stimulus: 'img/happy_face_1.jpg',
|
||||||
choices: [89, 78],
|
choices: [89, 78],
|
||||||
prompt: '<p class="center-content">Is this face happy? Y or N.</p>'
|
prompt: '<p class="center-content">' +
|
||||||
|
'Is this face happy? Y or N.</p>'
|
||||||
}
|
}
|
||||||
|
|
||||||
var trial_2 = {
|
var trial_2 = {
|
||||||
type: 'image-keyboard-response',
|
type: 'image-keyboard-response',
|
||||||
stimulus: 'img/sad_face_2.jpg',
|
stimulus: 'img/sad_face_2.jpg',
|
||||||
choices: [89, 78], // Y or N
|
choices: [89, 78], // Y or N
|
||||||
prompt: '<p class="center-content">Is this face happy? Y or N.</p>'
|
prompt: '<p class="center-content">' +
|
||||||
|
'Is this face happy? Y or N.</p>'
|
||||||
}
|
}
|
||||||
|
|
||||||
var trial_3 = {
|
var trial_3 = {
|
||||||
type: 'image-keyboard-response',
|
type: 'image-keyboard-response',
|
||||||
stimulus: 'img/happy_face_2.jpg',
|
stimulus: 'img/happy_face_2.jpg',
|
||||||
choices: [89, 78], // Y or N
|
choices: [89, 78], // Y or N
|
||||||
prompt: '<p class="center-content">Is this face happy? Y or N.</p>',
|
prompt: '<p class="center-content">' +
|
||||||
|
'Is this face happy? Y or N.</p>',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user