Update to jspsych@6.3
This commit is contained in:
@@ -10,6 +10,8 @@ The trial can end when the subject responds, when the audio file has finished pl
|
||||
|
||||
Note that the buttons are disabled during playing so the subject cannot press any button during that time.
|
||||
|
||||
Make sure to define a CSS style for `.jspsych-audio-sequence-button-response button.highlighted` to see the button light up, and you may have to use `!important` for it to show up.
|
||||
|
||||
## Parameters
|
||||
|
||||
Parameters with a default value of *undefined* must be specified. Other parameters can be left unspecified if the default value is acceptable.
|
||||
@@ -72,6 +74,18 @@ The animation of the visual feedback can make use of [Semantic UI's transitions]
|
||||
|
||||
#### Three alternative forced choice (3AFC)
|
||||
|
||||
CSS:
|
||||
```css
|
||||
.jspsych-audio-sequence-button-response button {
|
||||
min-width: 5em;
|
||||
min-height: 4em;
|
||||
}
|
||||
.jspsych-audio-sequence-button-response button.highlighted {
|
||||
background-color: #ffff00 !important;
|
||||
}
|
||||
```
|
||||
|
||||
Javascript:
|
||||
```javascript
|
||||
var trial = {
|
||||
type: 'audio-button-response',
|
||||
|
||||
Reference in New Issue
Block a user