Slider Input

A slider input 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:

<SliderInput
    legend="Success Probability"
    defaultValue={0.5}
    min={0}
    max={1}
    step={0.01}
/>

Options:

  • defaultValue: The value the slider is initialized with. Default: 10.
  • fractionDigits: The number of digits after the decimal points displayed for the current value. Default: null.
  • legend: string to be displayed as the title of te component. Default: ''.
  • max: The maximum value of the slider. Default: 100.
  • min: The minimum value of the slider. Default: 0.
  • step: The step size of the slider. Default: 1.
  • onChange: Callback function invoked after each change of the slider value. Default: null.

results matching ""

    No results matching ""