UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

71 lines (58 loc) 2.16 kB
/** * DevExtreme (ui/load_indicator.d.ts) * Version: 25.2.3 * Build date: Fri Dec 12 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { EventInfo, InitializedEventInfo, ChangedOptionInfo, } from '../events'; import Widget, { WidgetOptions, } from './widget/ui.widget'; /** * The type of the contentReady event handler&apos;s argument. */ export type ContentReadyEvent = EventInfo<dxLoadIndicator>; /** * The type of the disposing event handler&apos;s argument. */ export type DisposingEvent = EventInfo<dxLoadIndicator>; /** * The type of the initialized event handler&apos;s argument. */ export type InitializedEvent = InitializedEventInfo<dxLoadIndicator>; /** * The type of the optionChanged event handler&apos;s argument. */ export type OptionChangedEvent = EventInfo<dxLoadIndicator> & ChangedOptionInfo; export type LoadingAnimationType = 'circle' | 'sparkle'; /** * * @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 dxLoadIndicatorOptions extends WidgetOptions<dxLoadIndicator> { /** * Specifies the animation type for LoadIndicator. */ animationType?: LoadingAnimationType; /** * Specifies the path to a custom load indicator image. */ indicatorSrc?: string; } /** * The LoadIndicator is a UI element notifying the viewer that a process is in progress. */ export default class dxLoadIndicator extends Widget<dxLoadIndicatorOptions> { } export type Properties = dxLoadIndicatorOptions; /** * @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 = dxLoadIndicatorOptions;