Interface: NumericalResponse

The NumericalResponse interface is used to define the properties of a numerical response. NumericalResponses render as a text input that only accepts numbers, and can optionally have a min and max value, or a placeholder.

Hierarchy

Table of contents

Properties

Properties

correctAnswer

Optional correctAnswer: unknown

Inherited from

BaseResponse.correctAnswer

Defined in

types.ts:66


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


location

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

Inherited from

BaseResponse.location

Defined in

types.ts:65


max

Optional max: number

Defined in

types.ts:81


min

Optional min: number

Defined in

types.ts:80


paramCapture

Optional paramCapture: string

Inherited from

BaseResponse.paramCapture

Defined in

types.ts:69


placeholder

Optional placeholder: string

Defined in

types.ts:79


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


type

type: "numerical"

Defined in

types.ts:78