ContextMenuData#
Type alias ContextMenuData
Context Menu Data: {
clickResult?: PointerInfo;
contents?: ContextMenuEntry[];
leftPos: number;
onCloseCallback?: (() => void);
targetID?: number;
topPos: number;
}
clickResult?: PointerInfo;
contents?: ContextMenuEntry[];
leftPos: number;
onCloseCallback?: (() => void);
targetID?: number;
topPos: number;
}
Type declaration
-
Optional
clickResult?: PointerInfo -
Optional
contents?: ContextMenuEntry[] -
left
Pos: number -
Optional
onClose Callback?: (() => void) -
- (): void
-
Returns void
-
-
Optional
targetID?: number -
top
Pos: number
Defines the properties of a context menu.