Interface: LikertResponse

The LikertResponse interface is used to define the properties of a likert response. LikertResponses render as radio buttons with a user specified number of options, which can be controlled through the preset. For example, preset: 5 will render 5 radio buttons, and preset: 7 will render 7 radio buttons. LikertResponses can also have a description, and left and right labels. The left and right labels are used to label the left and right ends of the likert scale with values such as ‘Strongly Disagree’ and ‘Strongly Agree’.

Hierarchy

Table of contents

Properties

Properties

correctAnswer

Optional correctAnswer: unknown

Inherited from

BaseResponse.correctAnswer

Defined in

types.ts:66


desc

Optional desc: string

Defined in

types.ts:111


hidden

Optional hidden: boolean

Inherited from

BaseResponse.hidden

Defined in

types.ts:70


id

id: string

Inherited from

BaseResponse.id

Defined in

types.ts:62


leftLabel

Optional leftLabel: string

Defined in

types.ts:112


location

location: "sidebar" | "aboveStimulus" | "belowStimulus"

Inherited from

BaseResponse.location

Defined in

types.ts:65


paramCapture

Optional paramCapture: string

Inherited from

BaseResponse.paramCapture

Defined in

types.ts:69


preset

preset: number

Defined in

types.ts:110


prompt

prompt: string

Inherited from

BaseResponse.prompt

Defined in

types.ts:63


required

required: boolean

Inherited from

BaseResponse.required

Defined in

types.ts:64


requiredLabel

Optional requiredLabel: string

Inherited from

BaseResponse.requiredLabel

Defined in

types.ts:68


requiredValue

Optional requiredValue: unknown

Inherited from

BaseResponse.requiredValue

Defined in

types.ts:67


rightLabel

Optional rightLabel: string

Defined in

types.ts:113


type

type: "likert"

Defined in

types.ts:109