UNPKG

@syncfusion/ej2-vue-navigations

Version:

A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another for Vue

48 lines (47 loc) 1.99 kB
import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base'; import { ContextMenu, ContextMenuModel } from '@syncfusion/ej2-navigations'; export declare const properties: string[]; export declare const modelProps: string[]; export declare const testProp: any; export declare const props: any, watch: any, emitProbs: any; /** * Represents the Essential JS 2 VueJS ContextMenu Component. * ```html * <div id='target'>Right click / Touch hold to open the ContextMenu</div> * <ejs-contextmenu target='#target' :items='menuItems'></ejs-contextmenu> * ``` */ export declare let ContextMenuComponent: DefineVueComponent<ContextMenuModel>; export declare type ContextMenuComponent = typeof ComponentBase & { ej2Instances: ContextMenu; isVue3: boolean; isLazyUpdate: Boolean; plugins: any[]; propKeys: string[]; models: string[]; hasChildDirective: boolean; tagMapper: { [key: string]: Object; }; tagNameMapper: Object; setProperties(prop: any, muteOnChange: boolean): void; trigger(eventName: string, eventProp: { [key: string]: Object; }, successHandler?: Function): void; close(): void; destroy(): void; enableItems(items: string[], enable: boolean, isUniqueId?: boolean): void; getItemIndex(item: Object | string, isUniqueId?: boolean): number[]; getMenuWidth(menuElement: Object, width: number, isRtl: boolean): number; hideItems(items: string[], isUniqueId?: boolean): void; insertAfter(items: Object[], text: string, isUniqueId?: boolean): void; insertBefore(items: Object[], text: string, isUniqueId?: boolean): void; open(top: number, left: number, target?: Object): void; removeItems(items: string[], isUniqueId?: boolean): void; setItem(item: Object, id?: string, isUniqueId?: boolean): void; showItems(items: string[], isUniqueId?: boolean): void; }; export declare const ContextMenuPlugin: { name: string; install(Vue: any): void; };