/** * DevExtreme (ui/defer_rendering.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 { animationConfig, } from '../animation/fx'; import { UserDefinedElement, DxElement, } from '../core/element'; import { EventInfo, InitializedEventInfo, ChangedOptionInfo, } from '../events/index'; import Widget, { WidgetOptions, } from './widget/ui.widget'; /** @public */ export type ContentReadyEvent = EventInfo; /** @public */ export type DisposingEvent = EventInfo; /** @public */ export type InitializedEvent = InitializedEventInfo; /** @public */ export type OptionChangedEvent = EventInfo & ChangedOptionInfo; /** @public */ export type RenderedEvent = EventInfo; /** @public */ export type ShownEvent = EventInfo; /** * @deprecated use Properties instead * @namespace DevExpress.ui */ export interface dxDeferRenderingOptions extends WidgetOptions { /** * @docid * @default undefined * @public */ animation?: animationConfig; /** * @docid * @default null * @action * @public */ onRendered?: ((e: { component?: dxDeferRendering; element?: DxElement; model?: any }) => void); /** * @docid * @default null * @action * @public */ onShown?: ((e: { component?: dxDeferRendering; element?: DxElement; model?: any }) => void); /** * @docid * @type DxPromise|bool * @default undefined * @public */ renderWhen?: PromiseLike | boolean; /** * @docid * @default false * @public */ showLoadIndicator?: boolean; /** * @docid * @default undefined * @public */ staggerItemSelector?: string; } /** * @docid * @inherits Widget * @namespace DevExpress.ui * @public */ export default class dxDeferRendering extends Widget { constructor(element: UserDefinedElement, options?: dxDeferRenderingOptions) } /** @public */ export type Properties = dxDeferRenderingOptions; /** @deprecated use Properties instead */ export type Options = dxDeferRenderingOptions; /** @deprecated use Properties instead */ export type IOptions = dxDeferRenderingOptions;