ButtonOption
Defined in: parser/types.ts:405
The StringOption interface is used to define the options for a dropdown, radio, buttons, checkbox, matrix, and ranking response. The label is the text that is displayed to the user, and the value is the value that is stored in the data file.
Extends​
Properties​
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
infoText? | string | The description that is displayed when the participant hovers over the option. This does not accept markdown. | StringOption.infoText | parser/types.ts:402 |
key? | string | Keyboard shortcut for this button (e.g., "r", "ArrowLeft", or "Shift+X"). | - | parser/types.ts:407 |
label | string | The label displayed to participants. Markdown is supported. | StringOption.label | parser/types.ts:398 |
value? | string | The value stored in the participant's data. Defaults to label. | StringOption.value | parser/types.ts:400 |