UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

58 lines (56 loc) 2.09 kB
/*! * 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 Sortable, { IOptions } from "devextreme/ui/sortable"; declare type AccessibleOptions = Pick<IOptions, "allowDropInsideItem" | "allowReordering" | "autoScroll" | "boundary" | "container" | "cursorOffset" | "data" | "dragDirection" | "dragTemplate" | "dropFeedbackMode" | "elementAttr" | "filter" | "group" | "handle" | "height" | "itemOrientation" | "moveItemOnDrop" | "onAdd" | "onDisposing" | "onDragChange" | "onDragEnd" | "onDragMove" | "onDragStart" | "onInitialized" | "onOptionChanged" | "onRemove" | "onReorder" | "rtlEnabled" | "scrollSensitivity" | "scrollSpeed" | "width">; interface DxSortable extends AccessibleOptions { readonly instance?: Sortable; } declare const DxSortable: VueType.VueConstructor<{ instance: Sortable; } & { allowDropInsideItem: boolean; allowReordering: boolean; autoScroll: boolean; boundary: unknown; container: unknown; cursorOffset: any; data: unknown; dragDirection: string; dragTemplate: unknown; dropFeedbackMode: string; elementAttr: any; filter: string; group: string; handle: string; height: string | number | Function; itemOrientation: string; moveItemOnDrop: boolean; onAdd: Function; onDisposing: Function; onDragChange: Function; onDragEnd: Function; onDragMove: Function; onDragStart: Function; onInitialized: Function; onOptionChanged: Function; onRemove: Function; onReorder: Function; rtlEnabled: boolean; scrollSensitivity: number; scrollSpeed: number; width: string | number | Function; } & VueType.default>; declare const DxCursorOffset: any; export default DxSortable; export { DxSortable, DxCursorOffset };