devextreme-vue
Version:
DevExtreme Vue UI and Visualization Components
49 lines (47 loc) • 1.69 kB
TypeScript
/*!
* devextreme-vue
* Version: 19.2.6
* Build date: Thu Jan 30 2020
*
* Copyright (c) 2012 - 2020 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-vue
*/
import * as VueType from "vue";
import Draggable, { IOptions } from "devextreme/ui/draggable";
declare type AccessibleOptions = Pick<IOptions, "autoScroll" | "boundary" | "clone" | "container" | "cursorOffset" | "data" | "dragDirection" | "dragTemplate" | "elementAttr" | "group" | "handle" | "height" | "onDisposing" | "onDragEnd" | "onDragMove" | "onDragStart" | "onInitialized" | "onOptionChanged" | "rtlEnabled" | "scrollSensitivity" | "scrollSpeed" | "width">;
interface DxDraggable extends AccessibleOptions {
readonly instance?: Draggable;
}
declare const DxDraggable: VueType.VueConstructor<{
instance: Draggable;
} & {
autoScroll: boolean;
boundary: unknown;
clone: boolean;
container: unknown;
cursorOffset: any;
data: unknown;
dragDirection: string;
dragTemplate: unknown;
elementAttr: any;
group: string;
handle: string;
height: string | number | Function;
onDisposing: Function;
onDragEnd: Function;
onDragMove: Function;
onDragStart: Function;
onInitialized: Function;
onOptionChanged: Function;
rtlEnabled: boolean;
scrollSensitivity: number;
scrollSpeed: number;
width: string | number | Function;
} & VueType.default>;
declare const DxCursorOffset: any;
export default DxDraggable;
export { DxDraggable, DxCursorOffset };