forked from syncfusion/ej2-javascript-ui-controls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
context-menu-model.d.ts
32 lines (27 loc) · 999 Bytes
/
context-menu-model.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { attributes, getUniqueID, Collection, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { getZindexPartial } from '@syncfusion/ej2-popups';import { MenuBase, MenuItem } from '../common/menu-base';import { MenuItemModel } from './../common/menu-base-model';
import {MenuBaseModel} from "../common/menu-base-model";
/**
* Interface for a class ContextMenu
*/
export interface ContextMenuModel extends MenuBaseModel{
/**
* Specifies target element selector in which the ContextMenu should be opened.
*
* @default ''
*/
target?: string;
/**
* Specifies the filter selector for elements inside the target in that the context menu will be opened.
*
* @default ''
*/
filter?: string;
/**
* Specifies menu items with its properties which will be rendered as ContextMenu.
*
* @default []
* @aspType object
* @blazorType object
*/
items?: MenuItemModel[];
}