resizable.d.ts 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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 DxResizable from 'devextreme/ui/resizable';
  16. import { DxComponent } from '../core/component';
  17. import { DxTemplateHost } from '../core/template-host';
  18. import { NestedOptionHost } from '../core/nested-option';
  19. import { WatcherHelper } from '../core/watcher-helper';
  20. /**
  21. * The Resizable widget enables its content to be resizable in the UI.
  22. */
  23. export declare class DxResizableComponent extends DxComponent implements OnDestroy {
  24. instance: DxResizable;
  25. /**
  26. * Specifies the attributes to be attached to the widget's root element.
  27. */
  28. elementAttr: any;
  29. /**
  30. * Specifies which borders of the widget element are used as a handle.
  31. */
  32. handles: string;
  33. /**
  34. * Specifies the widget's height.
  35. */
  36. height: number | Function | string;
  37. /**
  38. * Specifies the upper height boundary for resizing.
  39. */
  40. maxHeight: number;
  41. /**
  42. * Specifies the upper width boundary for resizing.
  43. */
  44. maxWidth: number;
  45. /**
  46. * Specifies the lower height boundary for resizing.
  47. */
  48. minHeight: number;
  49. /**
  50. * Specifies the lower width boundary for resizing.
  51. */
  52. minWidth: number;
  53. /**
  54. * Switches the widget to a right-to-left representation.
  55. */
  56. rtlEnabled: boolean;
  57. /**
  58. * Specifies the widget's width.
  59. */
  60. width: number | Function | string;
  61. /**
  62. * A function that is executed before the widget is disposed of.
  63. */
  64. onDisposing: EventEmitter<any>;
  65. /**
  66. * A function used in JavaScript frameworks to save the widget instance.
  67. */
  68. onInitialized: EventEmitter<any>;
  69. /**
  70. * A function that is executed after a widget option is changed.
  71. */
  72. onOptionChanged: EventEmitter<any>;
  73. /**
  74. * A function that is executed each time the widget is resized by one pixel.
  75. */
  76. onResize: EventEmitter<any>;
  77. /**
  78. * A function that is executed when resizing ends.
  79. */
  80. onResizeEnd: EventEmitter<any>;
  81. /**
  82. * A function that is executed when resizing starts.
  83. */
  84. onResizeStart: EventEmitter<any>;
  85. /**
  86. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  87. */
  88. elementAttrChange: EventEmitter<any>;
  89. /**
  90. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  91. */
  92. handlesChange: EventEmitter<string>;
  93. /**
  94. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  95. */
  96. heightChange: EventEmitter<number | Function | string>;
  97. /**
  98. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  99. */
  100. maxHeightChange: EventEmitter<number>;
  101. /**
  102. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  103. */
  104. maxWidthChange: EventEmitter<number>;
  105. /**
  106. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  107. */
  108. minHeightChange: EventEmitter<number>;
  109. /**
  110. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  111. */
  112. minWidthChange: EventEmitter<number>;
  113. /**
  114. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  115. */
  116. rtlEnabledChange: EventEmitter<boolean>;
  117. /**
  118. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  119. */
  120. widthChange: EventEmitter<number | Function | string>;
  121. constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any);
  122. protected _createInstance(element: any, options: any): DxResizable;
  123. ngOnDestroy(): void;
  124. }
  125. export declare class DxResizableModule {
  126. }