UNPKG

devextreme-angular

Version:

DevExtreme UI and Visualization Components for Angular

166 lines (125 loc) 6.62 kB
import * as i0 from '@angular/core'; import { OnDestroy, EventEmitter, ElementRef, NgZone, TransferState } from '@angular/core'; import DxLoadIndicator, { LoadingAnimationType, ContentReadyEvent, DisposingEvent, InitializedEvent, OptionChangedEvent } from 'devextreme/ui/load_indicator'; import * as i1 from 'devextreme-angular/core'; import { DxComponent, DxTemplateHost, WatcherHelper, NestedOptionHost } from 'devextreme-angular/core'; import * as load_indicator_types from 'devextreme/ui/load_indicator_types'; export { load_indicator_types as DxLoadIndicatorTypes }; /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/DevExtreme */ /** * The LoadIndicator is a UI element notifying the viewer that a process is in progress. */ declare class DxLoadIndicatorComponent extends DxComponent implements OnDestroy { instance: DxLoadIndicator; /** * Specifies the animation type for LoadIndicator. */ get animationType(): LoadingAnimationType; set animationType(value: LoadingAnimationType); /** * Specifies the global attributes to be attached to the UI component&apos;s container element. */ get elementAttr(): Record<string, any>; set elementAttr(value: Record<string, any>); /** * Specifies the UI component&apos;s height. */ get height(): number | string | undefined; set height(value: number | string | undefined); /** * Specifies text for a hint that appears when a user pauses on the UI component. */ get hint(): string | undefined; set hint(value: string | undefined); /** * Specifies the path to a custom load indicator image. */ get indicatorSrc(): string; set indicatorSrc(value: string); /** * Switches the UI component to a right-to-left representation. */ get rtlEnabled(): boolean; set rtlEnabled(value: boolean); /** * Specifies whether the UI component is visible. */ get visible(): boolean; set visible(value: boolean); /** * Specifies the UI component&apos;s width. */ get width(): number | string | undefined; set width(value: number | string | undefined); /** * A function that is executed when the UI component is rendered and each time the component is repainted. */ onContentReady: EventEmitter<ContentReadyEvent>; /** * A function that is executed before the UI component is disposed of. */ onDisposing: EventEmitter<DisposingEvent>; /** * A function used in JavaScript frameworks to save the UI component instance. */ onInitialized: EventEmitter<InitializedEvent>; /** * A function that is executed after a UI component property is changed. */ onOptionChanged: EventEmitter<OptionChangedEvent>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ animationTypeChange: EventEmitter<LoadingAnimationType>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ elementAttrChange: EventEmitter<Record<string, any>>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ heightChange: EventEmitter<number | string | undefined>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ hintChange: EventEmitter<string | undefined>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ indicatorSrcChange: EventEmitter<string>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ rtlEnabledChange: EventEmitter<boolean>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ visibleChange: EventEmitter<boolean>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ widthChange: EventEmitter<number | string | undefined>; constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any); protected _createInstance(element: any, options: any): DxLoadIndicator; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DxLoadIndicatorComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DxLoadIndicatorComponent, "dx-load-indicator", never, { "animationType": { "alias": "animationType"; "required": false; }; "elementAttr": { "alias": "elementAttr"; "required": false; }; "height": { "alias": "height"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "indicatorSrc": { "alias": "indicatorSrc"; "required": false; }; "rtlEnabled": { "alias": "rtlEnabled"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "onContentReady": "onContentReady"; "onDisposing": "onDisposing"; "onInitialized": "onInitialized"; "onOptionChanged": "onOptionChanged"; "animationTypeChange": "animationTypeChange"; "elementAttrChange": "elementAttrChange"; "heightChange": "heightChange"; "hintChange": "hintChange"; "indicatorSrcChange": "indicatorSrcChange"; "rtlEnabledChange": "rtlEnabledChange"; "visibleChange": "visibleChange"; "widthChange": "widthChange"; }, never, never, true, never>; } declare class DxLoadIndicatorModule { static ɵfac: i0.ɵɵFactoryDeclaration<DxLoadIndicatorModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<DxLoadIndicatorModule, never, [typeof DxLoadIndicatorComponent, typeof i1.DxIntegrationModule, typeof i1.DxTemplateModule], [typeof DxLoadIndicatorComponent, typeof i1.DxTemplateModule]>; static ɵinj: i0.ɵɵInjectorDeclaration<DxLoadIndicatorModule>; } export { DxLoadIndicatorComponent, DxLoadIndicatorModule }; //# sourceMappingURL=index.d.ts.map