Skip to content
Discussion options

You must be logged in to vote

Hi @wxlpmnb

When timeline variables are referenced inside a function, the correct function to call is jsPsych.evaluateTimelineVariable().

stimulus: function() {
    var stim = `<p>Hello</p>` + jsPsych.evaluateTimelineVariable('tableau');
    return stim;
  },

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wxlpmnb
Comment options

Answer selected by wxlpmnb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants