/** * DevExtreme (ui/progress_bar.d.ts) * Version: 21.1.7 * Build date: Thu Aug 07 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { UserDefinedElement, } from '../core/element'; import { EventInfo, NativeEventInfo, InitializedEventInfo, ChangedOptionInfo, } from '../events/index'; import { ValueChangedInfo, } from './editor/editor'; import dxTrackBar, { dxTrackBarOptions, } from './track_bar'; /** @public */ export type CompleteEvent = NativeEventInfo; /** @public */ export type ContentReadyEvent = EventInfo; /** @public */ export type DisposingEvent = EventInfo; /** @public */ export type InitializedEvent = InitializedEventInfo; /** @public */ export type OptionChangedEvent = EventInfo & ChangedOptionInfo; /** @public */ export type ValueChangedEvent = NativeEventInfo & ValueChangedInfo; /** * @deprecated use Properties instead * @namespace DevExpress.ui */ export interface dxProgressBarOptions extends dxTrackBarOptions { /** * @docid * @default null * @type_function_param1 e:object * @type_function_param1_field4 event:event * @type_function_param1_field1 component:dxProgressBar * @type_function_param1_field2 element:DxElement * @type_function_param1_field3 model:any * @action * @public */ onComplete?: ((e: CompleteEvent) => void); /** * @docid * @default true * @public */ showStatus?: boolean; /** * @docid * @default function(ratio, value) { return "Progress: " + Math.round(ratio * 100) + "%" } * @public */ statusFormat?: string | ((ratio: number, value: number) => string); /** * @docid * @default 0 * @public */ value?: number | boolean; } /** * @docid * @inherits dxTrackBar * @namespace DevExpress.ui * @public */ export default class dxProgressBar extends dxTrackBar { constructor(element: UserDefinedElement, options?: dxProgressBarOptions) } /** @public */ export type Properties = dxProgressBarOptions; /** @deprecated use Properties instead */ export type Options = dxProgressBarOptions; /** @deprecated use Properties instead */ export type IOptions = dxProgressBarOptions;