Replies: 2 comments
-
The string that is passed to You can workaround by customizing how you invoke the {
stimulus: function() {
var props = jsPsych.timelineVariable('props', true); // true argument means evaluate immediately
return props.type;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Woohoo!! Thanks for the quick reply, my lack of js basics was driving me nuts. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to use timeline variables that contain nested objects. For example, I modified this from the example documentation on timeline variables. Here, I would be attempting to populate the
stimulus
say with the info contained in theprops.type
part of the timeline array.But, this doesn't seem to work. I'm probably missing something like a syntax issue here. Is there a workaround?
Beta Was this translation helpful? Give feedback.
All reactions