Skip to content
Lina128 edited this page Mar 24, 2017 · 11 revisions

Store has the states of all the variables that React needs to build the IKELAB STUDIO. Here is a full list of the variables and their explanations.

Variable Type Description
counter Number counter stores the total number of things created. When creating a new thing (e.g. trial, block, run, etc), use counter + 1 as its id.
condition Object condition stores conditions of the experiment.
currentTrial Number currentTrial stores the id of the current selected trial, which is going to be shown in the Trial Area.
structure Array structure stores an ordered list of experiment elements, i.e. trials, blocks, and runs.
entity Object entities stores detailed information of trials.
selected Array selected stores the trials selected when selection mode is on.
selectId Number selectId stores the id of the object (e.g. magic wand, trash can, etc) that turns on the selection mode.
selectMode Boolean True means selection mode is on, false means selection mode is off. False is the default mode.
messages Array message queue for communicating system errors and notifications.
tags Array tags stores tags added to the experiment.
Clone this wiki locally