A numeric rating / scoring question over a configurable integer scale.
Signature:
export declare interface ScoreQuestion
Properties
| Property | Type | Description |
|---|---|---|
| question | string | The rating question text. |
| scaleMax | number | undefined | Maximum integer value of the rating scale. Defaults to 5. |
| scaleMin | number | undefined | Minimum integer value of the rating scale. Defaults to 1. |
| type | 'score' | undefined | Optional discriminator tag ('score') when passed to DecisionMaker.evaluate(). |
ScoreQuestion.question
The rating question text.
Signature:
question: string;
ScoreQuestion.scaleMax
Maximum integer value of the rating scale. Defaults to 5.
Signature:
scaleMax?: number;
ScoreQuestion.scaleMin
Minimum integer value of the rating scale. Defaults to 1.
Signature:
scaleMin?: number;
ScoreQuestion.type
Optional discriminator tag ('score') when passed to DecisionMaker.evaluate().
Signature:
type?: 'score';