RangeSliderProps

Represents the properties of [RangeSlider](% slug api_inputs_rangeslider %) component.

ariaDescribedBy? string

Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message.

ariaLabelledBy? string

Identifies the element(s) which will label the component.

children? React.ReactNode

Determines the children nodes.

className? string

Sets additional classes to the RangeSlider.

defaultValue? Range

The default set values of type Range - start and end.

dir? Direction

The RangeSlider direction ltr or rtl.

disabled? boolean

Determines the disabled mode of the RangeSlider, if true - disabled.

endTabIndex? number

Sets the tabIndex attribute to the end drag handle.

id? string

Sets the id property of the top div element of the RangeSlider.

max number

The maximum possible value of the RangeSlider.

min number

The minimum possible value of the RangeSlider.

name? string

Specifies the name property of the input DOM element.

This property is part of the FormComponentProps interface.

onChange? (event: RangeSliderChangeEvent) => void

Triggered after value change - gets outside access to the element, new values and the event type.

required? boolean

Specifies if null is a valid value for the component.

This property is part of the FormComponentProps interface.

startTabIndex? number

Sets the tabIndex attribute to the start drag handle.

step? number

The step by which the value is increment/decrement.

style? CSSProperties

Sets additional CSS styles to the RangeSlider.

valid? boolean

Overrides the validity state of the component. If valid is set, the required property will be ignored.

This property is part of the FormComponentProps interface.

validationMessage? string

Controls the form error message of the component. If set to an empty string, no error will be thrown.

This property is part of the FormComponentProps interface.

validityStyles? boolean

If set to false, no visual representation of the invalid state of the component will be applied.

This property is part of the FormComponentProps interface.

value? Range

The flexible values of type Range - start andend`.

vertical? boolean

The RangeSlider orientation if true - vertical, else - horizontal.