/** * DevExtreme (ui/range_slider.d.ts) * Version: 25.1.7 * Build date: Mon Nov 10 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { EventInfo, NativeEventInfo, InitializedEventInfo, ChangedOptionInfo, InteractionEvent, } from '../events'; import { ValueChangedInfo, } from './editor/editor'; import { dxSliderBaseOptions, } from './slider'; import dxTrackBar from './track_bar'; /** * The type of the contentReady event handler's argument. */ export type ContentReadyEvent = EventInfo; /** * The type of the disposing event handler's argument. */ export type DisposingEvent = EventInfo; /** * The type of the initialized event handler's argument. */ export type InitializedEvent = InitializedEventInfo; /** * The type of the optionChanged event handler's argument. */ export type OptionChangedEvent = EventInfo & ChangedOptionInfo; /** * The type of the valueChanged event handler's argument. */ export type ValueChangedEvent = NativeEventInfo & ValueChangedInfo & { /** * */ readonly start?: number; /** * */ readonly end?: number; /** * */ readonly value?: Array; }; /** * * @deprecated * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export interface dxRangeSliderOptions extends dxSliderBaseOptions { /** * The right edge of the interval currently selected using the range slider. */ end?: number; /** * The value to be assigned to the name attribute of the underlying `` element. */ endName?: string; /** * A function that is executed after the UI component's value is changed. */ onValueChanged?: ((e: ValueChangedEvent) => void); /** * The left edge of the interval currently selected using the range slider. */ start?: number; /** * The value to be assigned to the name attribute of the underlying `` element. */ startName?: string; /** * Specifies the UI component's value. */ value?: Array; } /** * The RangeSlider is a UI component that allows an end user to choose a range of numeric values. */ export default class dxRangeSlider extends dxTrackBar { /** * Resets the value property to the value passed as an argument. */ reset(value?: Properties['value']): void; } export type Properties = dxRangeSliderOptions; /** * @deprecated use Properties instead * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export type Options = dxRangeSliderOptions;