ComponentBlock
Defined in: parser/types.ts:2155
Properties​
| Property | Type | Description | Defined in |
|---|---|---|---|
components | (string | ComponentBlock | DynamicBlock | FactorBlock)[] | The components that are included in the order. | parser/types.ts:2161 |
conditional? | boolean | The conditional property shows the block only when the URL condition matches its id. | parser/types.ts:2169 |
id? | string | The id of the block. This is used to identify the block in the SkipConditions and is only required if you want to refer to the whole block in the condition.to property. | parser/types.ts:2157 |
interruptions? | InterruptionBlock[] | The interruptions property specifies an array of interruptions. These can be used for breaks or attention checks. | parser/types.ts:2165 |
numSamples? | number | The number of samples to use for the random assignments. This means you can randomize across 3 components while only showing a participant 2 at a time. | parser/types.ts:2163 |
order | ComponentOrder | The type of order. This can be random (pure random), latinSquare (random with some guarantees), or fixed. | parser/types.ts:2159 |
skip? | SkipConditions | The skip conditions for the block. | parser/types.ts:2167 |