UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

170 lines (123 loc) 4.84 kB
/*! * devextreme-angular * Version: 20.2.5 * Build date: Fri Jan 15 2021 * * Copyright (c) 2012 - 2021 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-angular */ import { TransferState } from '@angular/platform-browser'; import { ElementRef, NgZone, OnDestroy, EventEmitter } from '@angular/core'; import DxResizable from 'devextreme/ui/resizable'; import { DxComponent, DxTemplateHost, NestedOptionHost, WatcherHelper } from 'devextreme-angular/core'; /** * The Resizable UI component enables its content to be resizable in the UI. */ export declare class DxResizableComponent extends DxComponent implements OnDestroy { instance: DxResizable; /** * Specifies the global attributes to be attached to the UI component's container element. */ elementAttr: any; /** * Specifies which borders of the UI component element are used as a handle. */ handles: string; /** * Specifies the UI component's height. */ height: number | Function | string; /** * Specifies the upper height boundary for resizing. */ maxHeight: number; /** * Specifies the upper width boundary for resizing. */ maxWidth: number; /** * Specifies the lower height boundary for resizing. */ minHeight: number; /** * Specifies the lower width boundary for resizing. */ minWidth: number; /** * Switches the UI component to a right-to-left representation. */ rtlEnabled: boolean; /** * Specifies the UI component's width. */ width: number | Function | string; /** * A function that is executed before the UI component is disposed of. */ onDisposing: EventEmitter<any>; /** * A function used in JavaScript frameworks to save the UI component instance. */ onInitialized: EventEmitter<any>; /** * A function that is executed after a UI component property is changed. */ onOptionChanged: EventEmitter<any>; /** * A function that is executed each time the UI component is resized by one pixel. */ onResize: EventEmitter<any>; /** * A function that is executed when resizing ends. */ onResizeEnd: EventEmitter<any>; /** * A function that is executed when resizing starts. */ onResizeStart: EventEmitter<any>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ elementAttrChange: EventEmitter<any>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ handlesChange: EventEmitter<string>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ heightChange: EventEmitter<number | Function | string>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ maxHeightChange: EventEmitter<number>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ maxWidthChange: EventEmitter<number>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ minHeightChange: EventEmitter<number>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ minWidthChange: EventEmitter<number>; /** * 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. */ widthChange: EventEmitter<number | Function | string>; constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any); protected _createInstance(element: any, options: any): DxResizable; ngOnDestroy(): void; } export declare class DxResizableModule { }