import * as i0 from '@angular/core'; import { OnDestroy, EventEmitter, ElementRef, NgZone, TransferState } from '@angular/core'; import { DragDirection } from 'devextreme/common'; import DxDraggable, { DisposingEvent, DragEndEvent, DragMoveEvent, DragStartEvent, InitializedEvent, OptionChangedEvent } from 'devextreme/ui/draggable'; import * as i3 from 'devextreme-angular/core'; import { DxComponent, DxTemplateHost, WatcherHelper, NestedOptionHost } from 'devextreme-angular/core'; import * as i1 from 'devextreme-angular/ui/nested'; import * as i2 from 'devextreme-angular/ui/draggable/nested'; export * from 'devextreme-angular/ui/draggable/nested'; import * as draggable_types from 'devextreme/ui/draggable_types'; export { draggable_types as DxDraggableTypes }; /*! * 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 */ /** * Draggable is a user interface utility that allows UI component elements to be dragged and dropped. */ declare class DxDraggableComponent extends DxComponent implements OnDestroy { instance: DxDraggable; /** * Enables automatic scrolling while dragging an item beyond the viewport. */ get autoScroll(): boolean; set autoScroll(value: boolean); /** * Specifies a DOM element that limits the dragging area. */ get boundary(): any | string | undefined; set boundary(value: any | string | undefined); /** * Allows a user to drag clones of items instead of actual items. */ get clone(): boolean; set clone(value: boolean); /** * Specifies a custom container in which the draggable item should be rendered. */ get container(): any | string | undefined; set container(value: any | string | undefined); /** * Specifies the cursor offset from the dragged item. */ get cursorOffset(): string | { x?: number; y?: number; }; set cursorOffset(value: string | { x?: number; y?: number; }); /** * A container for custom data. */ get data(): any | undefined; set data(value: any | undefined); /** * Specifies the directions in which an item can be dragged. */ get dragDirection(): DragDirection; set dragDirection(value: DragDirection); /** * Specifies custom markup to be shown instead of the item being dragged. */ get dragTemplate(): any; set dragTemplate(value: any); /** * Specifies the global attributes to be attached to the UI component's container element. */ get elementAttr(): Record; set elementAttr(value: Record); /** * Allows you to group several UI components, so that users can drag and drop items between them. */ get group(): string | undefined; set group(value: string | undefined); /** * Specifies a CSS selector (ID or class) that should act as the drag handle(s) for the item(s). */ get handle(): string; set handle(value: string); /** * Specifies the UI component's height. */ get height(): number | string | undefined; set height(value: number | string | undefined); /** * Switches the UI component to a right-to-left representation. */ get rtlEnabled(): boolean; set rtlEnabled(value: boolean); /** * Specifies the distance in pixels from the edge of viewport at which scrolling should start. Applies only if autoScroll is true. */ get scrollSensitivity(): number; set scrollSensitivity(value: number); /** * Specifies the scrolling speed when dragging an item beyond the viewport. Applies only if autoScroll is true. */ get scrollSpeed(): number; set scrollSpeed(value: number); /** * Specifies the UI component's width. */ get width(): number | string | undefined; set width(value: number | string | undefined); /** * A function that is executed before the UI component is disposed of. */ onDisposing: EventEmitter; /** * A function that is called when a drag gesture is finished. */ onDragEnd: EventEmitter; /** * A function that is called every time a draggable item is moved. */ onDragMove: EventEmitter; /** * A function that is called when a drag gesture is initialized. */ onDragStart: EventEmitter; /** * A function used in JavaScript frameworks to save the UI component instance. */ onInitialized: EventEmitter; /** * A function that is executed after a UI component property is changed. */ onOptionChanged: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ autoScrollChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ boundaryChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ cloneChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ containerChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ cursorOffsetChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ dataChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ dragDirectionChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ dragTemplateChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ elementAttrChange: EventEmitter>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ groupChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ handleChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ heightChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ rtlEnabledChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ scrollSensitivityChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ scrollSpeedChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ widthChange: EventEmitter; constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any); protected _createInstance(element: any, options: any): DxDraggable; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DxDraggableModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { DxDraggableComponent, DxDraggableModule }; //# sourceMappingURL=index.d.ts.map