UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

75 lines (73 loc) 2.94 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 Menu, { IOptions } from "devextreme/ui/menu"; declare type AccessibleOptions = Pick<IOptions, "accessKey" | "activeStateEnabled" | "adaptivityEnabled" | "animation" | "cssClass" | "dataSource" | "disabled" | "disabledExpr" | "displayExpr" | "elementAttr" | "focusStateEnabled" | "height" | "hideSubmenuOnMouseLeave" | "hint" | "hoverStateEnabled" | "items" | "itemsExpr" | "itemTemplate" | "onContentReady" | "onDisposing" | "onInitialized" | "onItemClick" | "onItemContextMenu" | "onItemRendered" | "onOptionChanged" | "onSelectionChanged" | "onSubmenuHidden" | "onSubmenuHiding" | "onSubmenuShowing" | "onSubmenuShown" | "orientation" | "rtlEnabled" | "selectByClick" | "selectedExpr" | "selectedItem" | "selectionMode" | "showFirstSubmenuMode" | "showSubmenuMode" | "submenuDirection" | "tabIndex" | "visible" | "width">; interface DxMenu extends AccessibleOptions { readonly instance?: Menu; } declare const DxMenu: VueType.VueConstructor<{ instance: Menu; } & { accessKey: string; activeStateEnabled: boolean; adaptivityEnabled: boolean; animation: any; cssClass: string; dataSource: any; disabled: boolean; disabledExpr: TimerHandler; displayExpr: TimerHandler; elementAttr: any; focusStateEnabled: boolean; height: string | number | Function; hideSubmenuOnMouseLeave: boolean; hint: string; hoverStateEnabled: boolean; items: unknown[]; itemsExpr: TimerHandler; itemTemplate: unknown; onContentReady: Function; onDisposing: Function; onInitialized: Function; onItemClick: TimerHandler; onItemContextMenu: Function; onItemRendered: Function; onOptionChanged: Function; onSelectionChanged: Function; onSubmenuHidden: Function; onSubmenuHiding: Function; onSubmenuShowing: Function; onSubmenuShown: Function; orientation: string; rtlEnabled: boolean; selectByClick: boolean; selectedExpr: TimerHandler; selectedItem: any; selectionMode: string; showFirstSubmenuMode: any; showSubmenuMode: any; submenuDirection: string; tabIndex: number; visible: boolean; width: string | number | Function; } & VueType.default>; declare const DxAnimation: any; declare const DxDelay: any; declare const DxHide: any; declare const DxItem: any; declare const DxShow: any; declare const DxShowFirstSubmenuMode: any; declare const DxShowSubmenuMode: any; export default DxMenu; export { DxMenu, DxAnimation, DxDelay, DxHide, DxItem, DxShow, DxShowFirstSubmenuMode, DxShowSubmenuMode };