defer-rendering.d.ts 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /*!
  2. * devextreme-angular
  3. * Version: 19.1.16
  4. * Build date: Tue Oct 18 2022
  5. *
  6. * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
  7. *
  8. * This software may be modified and distributed under the terms
  9. * of the MIT license. See the LICENSE file in the root of the project for details.
  10. *
  11. * https://github.com/DevExpress/devextreme-angular
  12. */
  13. import { TransferState } from '@angular/platform-browser';
  14. import { ElementRef, NgZone, OnDestroy, EventEmitter } from '@angular/core';
  15. import DevExpress from 'devextreme/bundles/dx.all';
  16. import DxDeferRendering from 'devextreme/ui/defer_rendering';
  17. import { DxComponent } from '../core/component';
  18. import { DxTemplateHost } from '../core/template-host';
  19. import { NestedOptionHost } from '../core/nested-option';
  20. import { WatcherHelper } from '../core/watcher-helper';
  21. /**
  22. * The DeferRendering is a widget that waits for its content to be ready before rendering it. While the content is getting ready, the DeferRendering displays a loading indicator.
  23. */
  24. export declare class DxDeferRenderingComponent extends DxComponent implements OnDestroy {
  25. instance: DxDeferRendering;
  26. /**
  27. * Specifies the shortcut key that sets focus on the widget.
  28. */
  29. accessKey: string;
  30. /**
  31. * Specifies whether or not the widget changes its state when interacting with a user.
  32. */
  33. activeStateEnabled: boolean;
  34. /**
  35. * Specifies the animation to be used to show the rendered content.
  36. */
  37. animation: DevExpress.animationConfig;
  38. /**
  39. * Specifies whether the widget responds to user interaction.
  40. */
  41. disabled: boolean;
  42. /**
  43. * Specifies the attributes to be attached to the widget's root element.
  44. */
  45. elementAttr: any;
  46. /**
  47. * Specifies whether the widget can be focused using keyboard navigation.
  48. */
  49. focusStateEnabled: boolean;
  50. /**
  51. * Specifies the widget's height.
  52. */
  53. height: number | Function | string;
  54. /**
  55. * Specifies text for a hint that appears when a user pauses on the widget.
  56. */
  57. hint: string;
  58. /**
  59. * Specifies whether the widget changes its state when a user pauses on it.
  60. */
  61. hoverStateEnabled: boolean;
  62. /**
  63. * Specifies when the widget content is rendered.
  64. */
  65. renderWhen: boolean | Promise<void> & JQueryPromise<void>;
  66. /**
  67. * Switches the widget to a right-to-left representation.
  68. */
  69. rtlEnabled: boolean;
  70. /**
  71. * Indicates if a load indicator should be shown until the widget's content is rendered.
  72. */
  73. showLoadIndicator: boolean;
  74. /**
  75. * Specifies a jQuery selector of items that should be rendered using a staggered animation.
  76. */
  77. staggerItemSelector: string;
  78. /**
  79. * Specifies the number of the element when the Tab key is used for navigating.
  80. */
  81. tabIndex: number;
  82. /**
  83. * Specifies whether the widget is visible.
  84. */
  85. visible: boolean;
  86. /**
  87. * Specifies the widget's width.
  88. */
  89. width: number | Function | string;
  90. /**
  91. * A function that is executed when the widget's content is ready and each time the content is changed.
  92. */
  93. onContentReady: EventEmitter<any>;
  94. /**
  95. * A function that is executed before the widget is disposed of.
  96. */
  97. onDisposing: EventEmitter<any>;
  98. /**
  99. * A function used in JavaScript frameworks to save the widget instance.
  100. */
  101. onInitialized: EventEmitter<any>;
  102. /**
  103. * A function that is executed after a widget option is changed.
  104. */
  105. onOptionChanged: EventEmitter<any>;
  106. /**
  107. * A function that is executed when the content is rendered but not yet displayed.
  108. */
  109. onRendered: EventEmitter<any>;
  110. /**
  111. * A function that is executed when the content is displayed and animation is completed.
  112. */
  113. onShown: EventEmitter<any>;
  114. /**
  115. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  116. */
  117. accessKeyChange: EventEmitter<string>;
  118. /**
  119. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  120. */
  121. activeStateEnabledChange: EventEmitter<boolean>;
  122. /**
  123. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  124. */
  125. animationChange: EventEmitter<DevExpress.animationConfig>;
  126. /**
  127. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  128. */
  129. disabledChange: EventEmitter<boolean>;
  130. /**
  131. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  132. */
  133. elementAttrChange: EventEmitter<any>;
  134. /**
  135. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  136. */
  137. focusStateEnabledChange: EventEmitter<boolean>;
  138. /**
  139. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  140. */
  141. heightChange: EventEmitter<number | Function | string>;
  142. /**
  143. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  144. */
  145. hintChange: EventEmitter<string>;
  146. /**
  147. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  148. */
  149. hoverStateEnabledChange: EventEmitter<boolean>;
  150. /**
  151. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  152. */
  153. renderWhenChange: EventEmitter<boolean | Promise<void> & JQueryPromise<void>>;
  154. /**
  155. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  156. */
  157. rtlEnabledChange: EventEmitter<boolean>;
  158. /**
  159. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  160. */
  161. showLoadIndicatorChange: EventEmitter<boolean>;
  162. /**
  163. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  164. */
  165. staggerItemSelectorChange: EventEmitter<string>;
  166. /**
  167. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  168. */
  169. tabIndexChange: EventEmitter<number>;
  170. /**
  171. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  172. */
  173. visibleChange: EventEmitter<boolean>;
  174. /**
  175. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  176. */
  177. widthChange: EventEmitter<number | Function | string>;
  178. constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any);
  179. protected _createInstance(element: any, options: any): DxDeferRendering;
  180. ngOnDestroy(): void;
  181. }
  182. export declare class DxDeferRenderingModule {
  183. }