Number Question

A number question component. Usually, this will be used as part of an ISLE dashboard, but it can also be used standalone. In this case, you want to handle changes via the onChange attribute.

Example:

<NumberQuestion
    question="What is the number PI - three digits after the period"
    solution={3.142}
/>

Open interactive preview

Options:

  • chat: boolean indicating whether the element should have a chat integrated
  • hintPlacement: string indicating where the hints shall be displayed. Default: bottom
  • hints: array of strings containing the hints. Default: []
  • max: number indicating the input maximum. Default: +Infinity
  • min: number indicating the input minimum. Default: -Infinity
  • onChange: callback function which is triggered after the submit action. Default: empty function.
  • question: string containing the number question. Default: ''.
  • solution: number containing the number solution. Default: null.

results matching ""

    No results matching ""